Skip to content
master
Go to file
Code
This branch is 719 commits behind webpack:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
lib
 
 
ssl
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

webpack-dev-server

npm deps test

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.

Note: There are known issues with Node.js v7 and webpack / webpack-dev-server. Please use Node.js v6 for the moment.

Installation

npm install webpack-dev-server --save-dev

Getting started

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 for more use cases and options.

Contributing

We appreciate all help! Check out CONTRIBUTING.md for more information on how to help.

Maintainer

This project is maintained by Kees Kluskens.

Inspiration

This project is heavily inspired by peerigon/nof5.

About

Serves a webpack app. Updates the browser on changes.

Resources

License

Packages

No packages published
You can’t perform that action at this time.