Use normal mode for fastest repeat startup because caches are kept in the repo.
npm run dev:tauriLean mode runs the same app startup command, but moves heavy transient build caches to a temporary directory and removes them automatically when the process exits.
npm run dev:leanKeeps dependencies (node_modules) but removes large generated outputs.
npm run clean:heavyRemoves:
distsrc-tauri/targetnode_modules/.vite.vite
Use when you need maximum disk recovery. Next startup/install will be slower.
npm run clean:all-localRemoves:
node_modulesdistsrc-tauri/target.vite
- Normal dev: faster restart speed, higher local disk usage over time.
- Lean dev: lower disk usage, but slower startup/rebuild because cache is not reused.
clean:heavy: good daily cleanup balance.clean:all-local: biggest disk reclaim, slowest next run.