This commit is contained in:
+3
-1
@@ -8,10 +8,12 @@ export default defineConfig({
|
||||
port: 5173,
|
||||
// SvelteKit excludes build output itself, but must watch generated route modules.
|
||||
// Ignoring all of .svelte-kit leaves cached page imports pointing at old route IDs.
|
||||
// Plugin verification output contains complete project copies, including tsconfigs.
|
||||
// Watching them also triggers unrelated TypeScript cache resets and full reloads.
|
||||
watch: {
|
||||
usePolling: process.env.WATCH_USE_POLLING === 'true',
|
||||
interval: 1000,
|
||||
ignored: ['**/output/**', '**/pages-dist/**', '**/offline-dist/**', '**/release/**']
|
||||
ignored: ['**/output/**', '**/pages-dist/**', '**/offline-dist/**', '**/plugin-dist/**', '**/release/**']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user