可避免关闭窗口,程序就关闭,可在后台运行
安装forever包,一般用于服务器,调试环境可不安装
npm install forever -g
启动方式如图:
查询后台运行哪些程序
forever list