mirror of
https://github.com/Xevion/banner.git
synced 2026-01-31 22:23:34 -06:00
fix(web): ignore .svelte-kit/generated in vite watcher
Prevents spurious full-page reloads when svelte-kit sync runs externally (e.g. during `just check`). The SvelteKit vite plugin already watches source files and writes generated output itself.
This commit is contained in:
@@ -33,6 +33,9 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
watch: {
|
||||
ignored: ["**/.svelte-kit/generated/**"],
|
||||
},
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://localhost:8080",
|
||||
|
||||
Reference in New Issue
Block a user