Running Node app through Grunt

后端 未结 2 2137
臣服心动
臣服心动 2020-12-16 16:23

I am trying to run my Node application as a Grunt task. I need to spawn this as a child process, however, to allow me to run the watch task in parallel.

This works:<

2条回答
  •  天命终不由人
    2020-12-16 16:47

    Take a look at grunt-nodemon which handles a lot of the headaches related to spawning a child process.

提交回复
热议问题