Webpack dev-server 2 task for Start. You might also need start-webpack.
npm install --save-dev start-webpack-dev-server
# or
yarn add --dev start-webpack-dev-serverimportStartfrom'start';importreporterfrom'start-pretty-reporter';importwebpackDevServerfrom'start-webpack-dev-server';conststart=Start(reporter());exportconstdev=()=>start(webpackDevServer(require('conf/webpack.dev')));See documentation for details.
webpackDevServer(config, devServerOptions, serverOptions)
config– webpack configdevServerOptions– webpack dev-server options,{ stats: { colors: true } }by defaultserverOptions–{ port: 3000, host: 'localhost' }by default