Skip to content

armgit / Edge0

Public Imported from GitHub
0

Run 35B MoE models in ~2.5 GB of RAM. Weights stream from SSD; a trained router predicts loads a step ahead. Mac, iPhone, Android, Windows supported

Python

windows: exclude src-tauri from vite watcher

Alex Zhou7d0713f67d09
diff --git a/windows/app/vite.config.ts b/windows/app/vite.config.ts
index 0dd5c55..efb0a99 100644
--- a/windows/app/vite.config.ts
+++ b/windows/app/vite.config.ts
@@ -6,7 +6,15 @@ import { defineConfig } from "vite";
export default defineConfig({
plugins: [react(), tailwindcss()],
clearScreen: false,
- server: { port: 1420, strictPort: true, host: "127.0.0.1" },
+ server: {
+ port: 1420,
+ strictPort: true,
+ host: "127.0.0.1",
+ // Windows: chokidar takes down the dev server with EBUSY when cargo links
+ // while Defender locks fresh artifacts. The tauri CLI watches src-tauri on
+ // its own; vite should not. (Same exclusion as create-tauri-app's template.)
+ watch: { ignored: ["**/src-tauri/**"] },
+ },
envPrefix: ["VITE_", "TAURI_"],
build: { target: "es2022", sourcemap: false },
});