electron-auto-reload-webpack-plugin
v1.0.0
Published
Webpack plugin that reload the electron process after compilation
Downloads
2
Maintainers
Readme
Installation
npm i electron-auto-reload-webpack-plugin --save-dev
Usage:
Set the following field in the package.json
"main": "path/to/main.js"
Define the plugin in your webpack configuration
const { ElectronAutoReloadPlugin } = require('electron-auto-reload-webpack-plugin')
module.exports = {
target: 'electron-main',
// ...
plugins: [new ElectronAutoReloadPlugin()]
// ...
}