# webpack-dev-server
[![npm][npm]][npm-url]
[![node][node]][node-url]
[![deps][deps]][deps-url]
[![tests][tests]][tests-url]
[![coverage][cover]][cover-url]
[![chat][chat]][chat-url]
webpack Dev Server
Use [webpack](https://webpack.js.org) with a development server that provides live reloading. This should be used for **development only**.
It uses [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) under the hood, which provides fast in-memory access to the webpack assets.
Install
```
npm install webpack-dev-server --save-dev
```
Usage
The easiest way to use it is with the CLI. In the directory where your `webpack.config.js` is, run:
```
node_modules/.bin/webpack-dev-server
```
This will start a server, listening on connections from `localhost` on port `8080`.
Now, when you change something in your assets, it should live-reload the files.
See [**the documentation**](https://webpack.js.org/configuration/dev-server/#devserver) for more use cases and options.
Contributing
We appreciate all help! Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to help.
Maintainers
Inspiration
This project is heavily inspired by [peerigon/nof5](https://github.com/peerigon/nof5).
LICENSE
#### [MIT](./LICENSE)
[npm]: https://img.shields.io/npm/v/webpack-dev-server.svg
[npm-url]: https://npmjs.com/package/webpack-dev-server
[node]: https://img.shields.io/node/v/webpack-dev-server.svg
[node-url]: https://nodejs.org
[deps]: https://david-dm.org/webpack/webpack-dev-server.svg
[deps-url]: https://david-dm.org/webpack/webpack-dev-server
[tests]: http://img.shields.io/travis/webpack/webpack-dev-server.svg
[tests-url]: https://travis-ci.org/webpack/webpack-dev-server
[cover]: https://codecov.io/gh/webpack/webpack-dev-server/branch/master/graph/badge.svg
[cover-url]: https://codecov.io/gh/webpack/webpack-dev-server
[chat]: https://badges.gitter.im/webpack/webpack.svg
[chat-url]: https://gitter.im/webpack/webpack