首页 > 解决方案 > Keeping ExpressJS Application Running After Terminal is Closed

问题描述

My application, working on server, but then I close the terminal window and your application stops. How can I solve this issue.

标签: node.jsexpressterminal

解决方案


您可以从 ExpressJs 官方指南中找到有关Express 应用程序的流程管理器的答案。

官方文档推荐使用PM2Forever ,以保持您的应用程序在后台运行并自动重启。


推荐阅读