如何重新启动流星 [英] How to restart Meteor
问题描述
如果我关闭浏览器选项卡并按Ctrl + Z 退出当前正在运行的meteor 进程,我如何再次启动meteor 以重新启动之前的项目?
我收到以下错误:
<块引用>$ ~/current/meteor/project 流星
meteor 无法监听 3000 端口.也许另一个 Meteor 正在运行?
在同一个应用程序目录中运行两个 Meteor 副本将不行.如果其他东西正在使用端口 3000,您可以指定一个带有 --port 的替代端口.
但指定另一个端口不会改变错误消息.
在 Linux CTRL+Z 暂停程序和 bg
命令发送它的背景.您可以输入 fg
命令返回到程序.
回到程序后,你可以用CTRL+C关闭它,然后用meteor
命令重新启动它.>
If I close the browser tab and press Ctrl + Z to exit the current running meteor process, how do I start meteor again to restart the previous project?
I get the following error:
$ ~/current/meteor/project meteor
meteor Can't listen on port 3000. Perhaps another Meteor is running?
Running two copies of Meteor in the same application directory will not work. If something else is using port 3000, you can specify an alternative port with --port .
But specifying another port doesn't change the error message.
in Linux CTRL+Z suspends the program and bg
command sends it to background. You can type fg
command to get back to the program.
After getting back to program, you can close it by CTRL+C, then simply start it again by meteor
command.
这篇关于如何重新启动流星的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!