1.1.0 • Published 7 years ago
auto-reload-webpack-plugin v1.1.0
auto-reload-webpack-plugin
A webpack plugin that restart automatically your application after compilation
Installation
Install package
$ npm install --save-dev auto-reload-webpack-pluginUsage
const AutoReloadWebpackPlugin = require('auto-reload-webpack-plugin');
plugins: [
new AutoReloadWebpackPlugin({
file: 'dist/server.js'
})
];Development
- 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 |