Skip to content

A self-hosted media server and file management system

fix: vite refreshes on php file change

aminnausinbe2ca75ac843
diff --git a/vite.config.ts b/vite.config.ts
index 0fdbfa4b..e522c971 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -62,7 +62,7 @@ export default defineConfig({
host: env.VITE_APP_HOST,
},
watch: {
- ignored: ['**/.git/**', '**/storage/**', '**/bootstrap/cache/**', '**/vendor/**', '**/coverage/**', '.phpunit.result.cache'],
+ ignored: ['**/.git/**', '**/storage/**', '**/bootstrap/cache/**', '**/vendor/**', '**/coverage/**', '.phpunit.result.cache', '**/tests/**', '**/app/**'],
},
},
build: {