-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
npm run serve启动项目后,浏览器会打开两个 http://localhost:8080 窗口 #4129
Comments
node_modules 里有 webpack-dev-server,又用了 vue-cli 3.0,然后 webpack-dev-server里有个 PS: mac 上不会打开两个,代码里写了”尽量用打开过的窗口“
|
妈耶 果然是bug 今天遇到了我排查了半天 确认自己的配置没问题 老版本CLI生产的项目也问题 3.8.2生成的在在多个Windows 10下都打开两个··· |
@jiangxiaoxin mac也有此bug,可见issue #4088 |
Fixed in 3.8.3 |
Version
3.8.2
Reproduction link
http://localhost:8080
Environment info
Steps to reproduce
1、vue create project 创建项目
2、配置项目启动端口:devServer:{
port:"8080",
open:true,
}
3、npm run serve 启动项目
What is expected?
npm run serve 启动项目时只打开一个 http://localhost:8080 窗口
What is actually happening?
npm run serve 启动项目时打开两个 http://localhost:8080 窗口
The text was updated successfully, but these errors were encountered: