shell - 如何重新启动 meteor

标签 shell meteor

如果我关闭浏览器选项卡并按 Ctrl + Z 退出当前运行的meteor 进程,我如何再次启动meteor 以重新启动之前的项目?

我收到以下错误:

$ ~/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 .



但是指定另一个端口不会更改错误消息。

最佳答案

在 Linux 中 CTRL+Z 挂起程序和 bg命令将其发送到后台。您可以输入 fg命令返回程序。

回到程序后,你可以用CTRL+C关闭它,然后简单地用meteor重新启动它。命令。

关于shell - 如何重新启动 meteor ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12999181/

相关文章:

linux - 如何在Linux命令行的find命令中使用-regex

javascript - 单击 Meteor 中的链接时下载文件

javascript - 使用 Flowrouter 和 trackerreact 显示来自 Meteor.call 函数的数据。

mongodb - 访问 Meteor 生产数据库

mongodb - 在 heroku 上部署 Meteor 1.0 应用程序后出现应用程序错误

java - Shell 命令从 java 失败,但在手动运行时有效

bash - bash 脚本出错时触发函数

shell - "&&"是否完全等同于 fish shell 中的 "and"?

linux - 如何判断我使用的是哪个 Unix shell?

javascript - 在 Meteor 中执行大型操作