Skip to content

Commit 9aaf8b7

Browse files
authored
Fix hot reload resetting whole renderer state
From SimulatedGREG#437
1 parent 45a3e22 commit 9aaf8b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/.electron-vue/dev-runner.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ function startRenderer () {
6464
{
6565
contentBase: path.join(__dirname, '../'),
6666
quiet: true,
67+
hot: true,
6768
before (app, ctx) {
68-
app.use(hotMiddleware)
69+
// app.use(hotMiddleware)
6970
ctx.middleware.waitUntilValid(() => {
7071
resolve()
7172
})

0 commit comments

Comments
 (0)