mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Stop Vite from watching test artifacts
A Playwright or build run in the same checkout wrote playwright-report/
test-results/dist, and the dev server's watcher force-reloaded any live
app window on every write — killing in-flight Tauri IPC ("Couldn't find
callback id") and making interactions appear to crash mid-flow.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
f19c35e025
commit
3c23b8e62c
+10
-1
@@ -47,7 +47,16 @@ export default defineConfig(async () => ({
|
||||
: undefined,
|
||||
watch: {
|
||||
// 3. tell Vite to ignore watching `src-tauri`
|
||||
ignored: ["**/src-tauri/**"],
|
||||
ignored: [
|
||||
"**/src-tauri/**",
|
||||
// Test artifacts: a Playwright/build run in the same checkout must
|
||||
// not force-reload a live dev app window (in-flight Tauri IPC dies
|
||||
// with "Couldn't find callback id" and interactions appear to
|
||||
// crash mid-flow).
|
||||
"**/playwright-report/**",
|
||||
"**/test-results/**",
|
||||
"**/dist/**",
|
||||
],
|
||||
},
|
||||
},
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user