Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问,如果不进行特别的设置,能不能自动增加端口数呢 #336

Closed
wenner opened this issue Feb 6, 2017 · 1 comment
Closed

Comments

@wenner
Copy link

wenner commented Feb 6, 2017

比如同时运行两个vue的项目 npm run dev , 因为都是默认的8080,所以会报错

以前用过类似的,不过忘记是什么了,应该是yo生成的..可以每次自增端口再运行....

现在每次都要关闭另外一个,再开始新的...有点麻烦...

不知道有没有这个功能,或者如何修改 dev-server.js 来实现类似功能呢?

@wenner
Copy link
Author

wenner commented Feb 6, 2017

应该发到vue-template里面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant