Skip to content

Commit c777bb7

Browse files
Fix Vite hot-reload: ignore backend/data SQLite writes
1 parent 78c17b4 commit c777bb7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

web/vite.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import path from "path";
55

66
export default defineConfig({
77
plugins: [react()],
8+
server: {
9+
watch: {
10+
ignored: ["**/backend/**", "**/data/**", "**/*.db", "**/*.db-wal", "**/*.db-shm"],
11+
},
12+
},
813
resolve: {
914
alias: {
1015
"@": path.resolve(__dirname, "./src"),

0 commit comments

Comments
 (0)