tell vite to ignore rust build folder (@/target)

This commit is contained in:
2026-09-05 02:01:52 +08:00
parent ce07be8d28
commit 8a80bf5f59
+1 -2
View File
@@ -35,8 +35,7 @@ export default defineConfig(async () => ({
} }
: undefined, : undefined,
watch: { watch: {
// 3. tell Vite to ignore watching `src-tauri` ignored: ["**/src-tauri/**", "**/target/**"],
ignored: ["**/src-tauri/**"],
}, },
}, },
})); }));