https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- 此时,index.js中那个值是false也没影响,项目启动后,自动打开谷歌浏览器。