安裝 webpack-dev-server:
npm i webpack-dev-server --save-dev
跟之前一樣,如果直接 terminal 輸入指令,要輸入:
node_modules/.bin/webpack-dev-server --inline