我正在尝试永远使用nodemon。
我对 nodemon 没有任何问题:
nodemon --exitcrash node/index.js -- "user/verbs/config"
但是,按照nodemon FAQ中的说明,并根据https://stackoverflow.com/a/20306929/271577上的评论在“nodemon --exitcrash”周围加上引号(以避免永远认为参数“user/verbs /config" 是文件) 来生成:
forever start --minUptime 1000 --spinSleepTime 1000 --killSignal=SIGTERM -c "nodemon --exitcrash" node/index.js -- "user/verbs/config"
...我收到消息
信息:永远处理文件:node/index.js
并且没有剧本的延续。运行forever list
显示“没有永远运行的进程”。
(注意:我最终希望它与 一起工作forever-monitor
,但我认为上面需要先工作。)
有什么我想念的吗?