Use webpack with a development server that provides live reloading. This should be used for development only.
It uses webpack-dev-middleware under the hood, which provides fast in-memory access to the webpack assets.
npm install webpack-dev-server --save-dev
The easiest way to use it is with the CLI. In the directory where your
webpack.config.js is, run:
This will start a server, listening on connections from
localhost on port
Now, when you change something in your assets, it should live-reload the files.
See the documentation for more use cases and options.
We appreciate all help! Check out CONTRIBUTING.md for more information on how to help.
This project is heavily inspired by peerigon/nof5.