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

import { defineConfig } from 'vite';
import laravel, { refreshPaths } from 'laravel-vite-plugin';

export default defineConfig({
    plugins: [
        laravel({
            input: [
                'resources/css/app.css',
                'resources/js/app.js'],
            refresh: [
                ...refreshPaths,
                'app/Livewire/**',
            ],
        }),
    ],
});


File: tailwind.config.js

/** @type {import('tailwindcss').Config} */
export default {
  content: [
    './app/Filament/**/*.php',
    './resources/views/filament/**/*.blade.php',
    './vendor/filament/**/*.blade.php',
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

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:

12:17:40 PM [vite] page reload app/Filament/Resources/UserResource.php


Unfortunately, my browser does not auto-refresh.

Any ideas, thank you.
Pablo
Was this page helpful?