对于这个问题,我看到的唯一答案是--在不同的端口上启动另一个副本。Switching from one Meteor workspace to another好的,我知道我可以在不同的端口上运行另一个,但是如何停止第一个呢?
发布于 2013-10-14 00:29:18
我使用以下命令:
kill -9 `ps ax | grep node | grep meteor | awk '{print $1}'`或者,如果我在本地机器上终止远程进程,则运行以下命令:
ssh [user]@[server] <<'ENDSSH'
kill -9 `ps ax | grep node | grep meteor | awk '{print $1}'`
exit
ENDSSH发布于 2016-03-17 22:14:33
如果Meteor运行在:3000端口上:
kill -9 $(lsof -i :3000 -t); 发布于 2013-11-07 14:36:30
与Fernando的响应类似,如果您使用的是OSX,您可以使用活动监视器退出进程node和mongod。
退出node将停止服务器。数据库仍将运行并接受传入连接,因此退出mongod将关闭数据库。
https://stackoverflow.com/questions/12238382
复制相似问题