0👍
✅
in the root dir
webpack --config webpack.config.js
and then opening demo/index.html, but still dont know how to livereload after changes
–update–
thanks to @unholysheep
webpack-dev-server --config webpack.config.js --port 19999 --content-base=demo
0👍
Please read this document firstly.
Source:stackexchange.com