This is how I fixed the problem. In package.json:
"start": "webpack-dev-server
of course you can use webpack.config.js instead of webpack.dev.js
In webpack.config.js:
devServer: { ... open: 'chrome' },
This is for Google Chrome, so just use any other browser name.
source share