Fixed dist watching issues

This commit is contained in:
Alexis
2026-07-11 14:23:07 +02:00
parent e7a793a25e
commit 7164ec65b9

View File

@@ -17,5 +17,14 @@ export default defineConfig({
ENABLE_BREADCRUMB: envField.boolean({ context: "server", access: "secret", default: true }),
ENABLE_I18N: envField.boolean({ context: "server", access: "secret", default: true }),
}
},
vite: {
server: {
watch: {
ignored: [
'**/dist/**', // dist shouldn't be watched
],
},
},
}
});