0.0.1 • Published 9 years ago
restart-electron-webpack-plugin v0.0.1
Introduction
Webpack plugin that automatically (re)starts your Electron.js app after code changes.
Installation
Source can be loaded via npm.
# npm package
$ npm install --save-dev restart-electron-webpack-plugin
Usage
Update your webpack.config.js
:
module.exports = {
...
plugins: [
new RestartElectronPlugin({
// Defaults to process.cwd() + script
script: 'path/to/app.js',
// The command line arguments to launch electron (optional)
arguments: ["--enable-logging"]
}),
],
...
};
0.0.1
9 years ago