A webpack plugin that restart automatically your application after compilation
Install package
$ npm install --save-dev auto-reload-webpack-plugin
const AutoReloadWebpackPlugin = require('auto-reload-webpack-plugin');
plugins: [
new AutoReloadWebpackPlugin({
file: 'dist/server.js'
})
];
- Cloning the repo
$ git clone https://github.com/pauloedurezende/auto-reload-webpack-plugin.git
- Installing dependencies
$ npm install
- Running scripts
Action | Usage |
---|---|
Starting development mode | npm start |
Linting code | npm run lint |
Running unit tests | npm run jest |
Running code coverage | npm run coverage |
Running lint + tests | npm test |
Sending coverage results to Coveralls.io | npm run coveralls |