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

希望能兼容多个命令启动不同项目 #956

Closed
swordYWQ opened this issue Oct 25, 2018 · 2 comments
Closed

希望能兼容多个命令启动不同项目 #956

swordYWQ opened this issue Oct 25, 2018 · 2 comments

Comments

@swordYWQ
Copy link

问题: 不能正常用启动两个或多个命令来启动开发服务器环境
版本: [email protected]
描述:目前通过vuepress dev ./project1单独运行是没有问题的,但是启动vuepress dev ./project1vuepress dev ./project2 各自指定不同端口,命令能成功运行,但是项目2会把项目1覆盖(也即是访问项目1端口显示的是项目2的内容),希望能修复这个问题,谢谢。

@meteorlxy
Copy link
Member

Duplicate of #355

@ulivz
Copy link
Member

ulivz commented Nov 7, 2018

You can try the latest 1.x alpha version (we're going to release it). and set npm scripts as follows:

    "dev1": "vuepress dev docs --temp .temp1",
    "dev2": "vuepress dev docs --temp .temp2"

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

3 participants