From 8a80bf5f5998b090a3830c01c572916b05f66ade Mon Sep 17 00:00:00 2001 From: Wind-Explorer Date: Sat, 5 Sep 2026 02:01:52 +0800 Subject: [PATCH] tell vite to ignore rust build folder (@/target) --- vite.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vite.config.js b/vite.config.js index d9ce264..e29b877 100644 --- a/vite.config.js +++ b/vite.config.js @@ -35,8 +35,7 @@ export default defineConfig(async () => ({ } : undefined, watch: { - // 3. tell Vite to ignore watching `src-tauri` - ignored: ["**/src-tauri/**"], + ignored: ["**/src-tauri/**", "**/target/**"], }, }, }));