Expand vite watch ignore list to prevent silent crashes on merge
Vite only needs to watch frontend/ sources. Ignore git objects, Rust source, Cargo files, node_modules, and vendor directories that change in bulk during squash merges. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -19,7 +19,15 @@ export default defineConfig(() => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
ignored: ["**/.story_kit/**", "**/target/**"],
|
ignored: [
|
||||||
|
"**/.story_kit/**",
|
||||||
|
"**/target/**",
|
||||||
|
"**/.git/**",
|
||||||
|
"**/server/**",
|
||||||
|
"**/Cargo.*",
|
||||||
|
"**/vendor/**",
|
||||||
|
"**/node_modules/**",
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
|
|||||||
Reference in New Issue
Block a user