Run Gulp script with forever?

后端 未结 5 790
-上瘾入骨i
-上瘾入骨i 2021-02-19 05:44

Is it possible to run Gulp script with forever?

I have Gulp script that would like to run as a daemon, so I could start / stop / list it.

5条回答
  •  终归单人心
    2021-02-19 06:01

    if you install gulp in your node project, you can do like this:

    forever start node_modules/gulp/bin/gulp.js [YOUR GULP TASK]

提交回复
热议问题