mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
fix: watch
This commit is contained in:
parent
25d49a0805
commit
e3b1cdde92
@ -25,6 +25,7 @@ function watchMain() {
|
||||
root: join(__dirname, '../src/main'),
|
||||
build: {
|
||||
outDir: '../../dist/main',
|
||||
watch: true,
|
||||
},
|
||||
plugins: [{
|
||||
name: 'electron-main-watcher',
|
||||
@ -48,6 +49,7 @@ function watchPreload(server) {
|
||||
root: join(__dirname, '../src/preload'),
|
||||
build: {
|
||||
outDir: '../../dist/preload',
|
||||
watch: true,
|
||||
},
|
||||
plugins: [{
|
||||
name: 'electron-preload-watcher',
|
||||
|
Loading…
x
Reference in New Issue
Block a user