Forever + Nodemon running together

后端 未结 8 1432
刺人心
刺人心 2020-12-07 10:04

Is there any way to have both of this packages running together?

So basically I want to have best from both worlds. Running server automatically (and restarting when

相关标签:
8条回答
  • 2020-12-07 10:17

    If you need to pass arguments:

    forever start -c "nodemon --harmony" app.js --exitcrash
    
    0 讨论(0)
  • 2020-12-07 10:24

    I prefer a combo of what Toxa and Jubair suggest.

    forever start -c nodemon app.coffee --exitcrash
    
    0 讨论(0)
提交回复
热议问题