一般都是用比如node app.js启动应用,然后停止应用ctrl+c
那么怎么用后台进程方式启动呢?就像java中的java -jar app.jar & 只要在后面加个&就好了
nodemon或者nodeup或者forever都行
能具体点吗,我在win平台下的
win的node安装包自带npm,如果装了git的话npm install forever就行了 文档https://github.com/nodejitsu/forever.git。win系统下的msysGit中文设置和用户配置脚本可以参考https://github.com/hebuliang/msysGit-auto-config使用~
CNode 社区为国内最专业的 Node.js 开源技术社区,致力于 Node.js 的技术研究。
nodemon或者nodeup或者forever都行
能具体点吗,我在win平台下的
win的node安装包自带npm,如果装了git的话npm install forever就行了 文档https://github.com/nodejitsu/forever.git。win系统下的msysGit中文设置和用户配置脚本可以参考https://github.com/hebuliang/msysGit-auto-config使用~