This tutorial shows how to setup webpack-dev-server with gulp.
Simple web project demonstrating some webpack features. It has some style sheets and some scripts.
Bundles are generated to public/build directory
webpack-dev-server's port can be changed in gulpfile
- npm install
- gulp webpackDevServer
- open http://localhost:3002/webpack-dev-server/ in your web browser
- to demonstrate that changes are hot reloaded without page being reloaded enter some text into input field
- change color in style.less to "red"
- check changed page in your browser
- change innerHTML to "It's working... 2" and check your browser again