electron-webpack
electron-webpack copied to clipboard
Changes are not reflected in Electron when using an external directory
- Version: 2.8.2
Sorry, that's already my second question.
Since I failed to use electron-webpack with Yarn Workspaces, I am using an external directory through an alias, like this:
resolve: {
alias: {
'@common': Path.resolve(__dirname, '../common')
}
}
It works, and when a change is made in the common directory, I can see that something is being re-compiled by Electron:
[0] wait - compiling...
[0] event - compiled successfully
However, the Electron app itself is not refreshing, and if I force a refresh, the latest version of the app is not there. If I restart Electron completely, it works. Any idea what the problem could be?
Thanks a lot.