© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Pablo Torres

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/**',
            ],
        }),
    ],
});
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: [],
}
/** @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
12:17:40 PM [vite] page reload app/Filament/Resources/UserResource.php


Unfortunately, my browser does not auto-refresh.

Any ideas, thank you.
Pablo
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Vite page reload on terminal but not refresh browser
FilamentFFilament / ❓┊help
2y ago
configure filament-php project to auto refresh browser on file changes
FilamentFFilament / ❓┊help
3y ago
Browser refresh not working in new panel
FilamentFFilament / ❓┊help
17mo ago
It does not save on a Radio Button
FilamentFFilament / ❓┊help
10mo ago