node.js - 如何Mac机后台运行node?
PHP中文网
PHP中文网 2017-04-17 11:00:18
0
3
593

如何在Mac机后台运行node?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
左手右手慢动作
node app.js &
nohup node app.js &
洪涛

一般我不管调度阶段还是实用阶段都喜欢用forever库来维护,包括watch神马的

安装forever: npm install forever -g

我一般用的命令: sudo forever -w -c coffee server.coffee

迷茫

forever不错。

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template