For webpack version 2.x, you just add --open open to the CLI as documented here:
https://webpack.js.org/configuration/dev-server/#devserver-open
Alternatively, add the following config to your webpack.config.js:
devServer: {
open: true
}
For webpack version 2.x, you just add --open open to the CLI as documented here:
https://webpack.js.org/configuration/dev-server/#devserver-open
Alternatively, add the following config to your webpack.config.js:
devServer: {
open: true
}