Skip to content

Commit ad8de54

Browse files
committed
refactor: update vite config
- tell vite to ignore rust directory
1 parent e89a8de commit ad8de54

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

firmwareflasher.code-workspace

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,13 @@
4242
},
4343
"liveServer.settings.multiRootWorkspaceName": "Example",
4444
"cSpell.words": [
45+
"autodetection",
4546
"codegen",
47+
"daisyui",
4648
"eyetrack",
4749
"eyetrackvrfft",
4850
"flashtool",
51+
"Goebel",
4952
"highlightjs",
5053
"hljs",
5154
"improv",

vite.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ export default defineConfig({
2828
port: 3000,
2929
host: true,
3030
strictPort: true,
31+
watch: {
32+
// 3. tell vite to ignore watching `src-tauri`
33+
ignored: ['**/src-tauri/**'],
34+
},
3135
},
3236
build: {
3337
rollupOptions: {

0 commit comments

Comments
 (0)