webpack-dev-server can be installed via npm
npm --save-dev webpack-dev-server
now you can start server
./node_modules/.bin/webpack-dev-server
To simplify usage you can add script to package.json
// package.json
{
...
"scripts": {
"start": "webpack-dev-se...
webpack-dev-server can proxy some requests to others servers. This might be useful for developing API client when you want to send requests to same domain.
Proxy is configured via proxy parameter.
Example configuration of dev server passing requests to /api to other service listening on port 8080 ...