The Webpack dev server is very helpful software that lets you develop with a very tight feedback loop. We used plenty of arguments to make it run:
webpack-dev-server --output-path / --inline --hot --open
All these parameters are the same inside the webpack.config.js. Instead, we are putting these parameters in the command line for convenience. The --output-path is where the Webpack server will serve bundle.js; in our case, we said that we want it served at the root path, so it will effectively bind the /bundle.js path to the actual bundle.js file.
The second parameter, --inline, will inject some JavaScript code in our browser so that our app can communicate with the Webpack dev server.
The --hot parameter will activate the ...