Skip to content

pauloedurezende/auto-reload-webpack-plugin

Repository files navigation

auto-reload-webpack-plugin

Travis Status Coveralls Status NPM Version License

A webpack plugin that restart automatically your application after compilation

Installation

Install package

$ npm install --save-dev auto-reload-webpack-plugin

Usage

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

Author

Paulo Rezende

License

MIT