mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 11:56:36 +08:00
fix: correct watch value type
This commit is contained in:
parent
0ac3c66087
commit
47899db9a6
@ -34,7 +34,7 @@ function watchMain(server) {
|
|||||||
mode: 'development',
|
mode: 'development',
|
||||||
plugins: [!debug && startElectron].filter(Boolean),
|
plugins: [!debug && startElectron].filter(Boolean),
|
||||||
build: {
|
build: {
|
||||||
watch: true,
|
watch: {},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@ function watchPreload(server) {
|
|||||||
},
|
},
|
||||||
}],
|
}],
|
||||||
build: {
|
build: {
|
||||||
watch: true,
|
watch: {},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user