Webpack launch browser automatically
问题 Gulp + live reload serves up my content on localhost and (here's what I'm after) launches the browser automatically at the server url whenever i run the gulp command (i.e I don't have to click the browser icon and navigate to the url manually). Can this be done in Webpack too? I've tried a plugin called open-browser-webpack-plugin, but I could not get it to work. 回答1: For webpack version 2.x, you just add --open open to the CLI as documented here: https://webpack.js.org/configuration/dev