f083f0633d
It reloads the BrowserWindow, but that already has HMR since we're connecting to a Next dev server on localhost. What we want is the main process to reload if the files for the main process are changed. All options I've found so far just restart the main app on changes to the main process code. I'm not sure that'll be useful, so not adding them right now (and in any case, this is not a regression, it just wasn't working with electron-reload either). For future reference if I need to revisit this, these are the things I scouted: - https://www.electronforge.io/config/plugins/webpack - https://github.com/sindresorhus/electron-reloader - https://electron-vite.org/guide/hot-reloading.html |
||
---|---|---|
.. | ||
dependencies.md | ||
dev.md | ||
README.md | ||
release.md |