-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Description
- Laravel Vite Plugin Version: 0.6.1
- Laravel Version: 9.31.0
- Node Version: 16.17.1
- NPM Version: 8.15.0
- Host operating system: Linux (Homestead, Ubuntu 18.04.5 LTS)
- Web Browser & Version: -
- Running in Sail / Docker: No
Description:
Just installed Breeze (php artisan breeze:install) and tried to serve the assets (npm run dev) and I got this error, suggesting vite is watching the vendor folder (which I assume should be ignored, by default):
The command npm run build works fine anyway.
Steps To Reproduce:
This is my config, I tried to even defining a more restrictive refresh path:
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
],
// none of these work
// refresh: true,
// refresh: false,
refresh: [
'resources/**',
],
}),
],
});Metadata
Metadata
Assignees
Labels
No labels
