Skip to content

Commit

Permalink
📦 Chore: add main process hot reload
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Apr 5, 2021
1 parent ce8f415 commit 3fd6e4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ if (process.env.NODE_ENV === 'development') {
config.configureWebpack = {
devtool: 'eval-source-map'
}
// for dev main process hot reload
config.pluginOptions.electronBuilder.mainProcessWatch = ['src/main/**/*']
}

module.exports = {
Expand Down

0 comments on commit 3fd6e4e

Please sign in to comment.