mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-08-24 21:51:27 +08:00
fix: correct watch value type
This commit is contained in:
@@ -34,7 +34,7 @@ function watchMain(server) {
|
||||
mode: 'development',
|
||||
plugins: [!debug && startElectron].filter(Boolean),
|
||||
build: {
|
||||
watch: true,
|
||||
watch: {},
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -53,7 +53,7 @@ function watchPreload(server) {
|
||||
},
|
||||
}],
|
||||
build: {
|
||||
watch: true,
|
||||
watch: {},
|
||||
},
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user