Browser does not refresh on file save (Docker)
Please, anyone using Docker (macOS) my browser is not refreshing automatically. I have done the following:
File: vite.config.js
File: tailwind.config.js
I'm using:
Laravel v10
Filament v3 (new project/fresh install)
Docker
macOS
Safari
I do run: 'sail npm run dev', when saving a file (Filament file eg. app/Filament/Resources/UserResource.php) on the terminal I get:
Unfortunately, my browser does not auto-refresh.
Any ideas, thank you.
Pablo
2 Replies
Working by adding the following on AppServiceProvider.php
Following:
https://www.answeroverflow.com/m/1162045851183611945#solution-1162066119511789659
Thanks.
Vite not refreshing dashboard views - Filament
Refreshes and compiles on the welcome.blade.php.
Doesn't refresh on inner filament pages. Won't compile tailwind classes on livewire components either.
I am stumped!
```import {defineConfig} from 'vite'
import laravel, {refreshPaths} from 'laravel-vite-plugin'
export default defineConfig({
plugins: [
laravel({
input: ...