从一个 Meteor 工作空间切换到另一个 [英] Switching from one Meteor workspace to another

查看:62
本文介绍了从一个 Meteor 工作空间切换到另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

示例:您制作了todos"示例,并且它正在运行.突然,你想开始一个名为西瓜"的全新项目.这是我的假设,我将能够再次 cd ~/watermelon 运行 meteor 并让它切换.不是这样.建议?也许我应该提出这个要求.

Example: you made the "todos" example, and it is running. Suddenly, you want to start a brand new project called "watermelon". It was my assumption that I would be able to just cd ~/watermelon run meteor again, and have it switch. Not so. Suggestions? Maybe I should feature request this.

Meteor 也没有出现在 jobs 中,所以我不知道如何杀死它.

Meteor doesn't show up in jobs either, so I can't figure out how to kill it.

推荐答案

一次运行多个meteor 项目应该没有问题,只要确保在不同的端口上运行即可.

You should have no problem running multiple meteor projects at once, just make sure your running on different ports.

todo : meteor
watermelon : meteor --port 5000

注意,meteor 使用端口 N+1 &N+2(所以不要使用端口 3001 或 3002).

Note, meteor uses ports N+1 & N+2 (so don't use port 3001 or 3002).

这篇关于从一个 Meteor 工作空间切换到另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆