grunt watch task block the command line

前端 未结 5 1220
天涯浪人
天涯浪人 2021-02-05 12:36

I\'m new to grunt, still learning, so I came up to a very strange problem. When I run \"watch\" task, my command line becomes blocked, so basically I cant do anythi

5条回答
  •  我在风中等你
    2021-02-05 13:13

    Besides terminal only solutions proposed by @Nick, it would good to have better integrated Node solutions.

    This had a WONTFIX from grunt-contib-watch https://github.com/gruntjs/grunt-contrib-watch/issues/340 and grung-bg-shell https://github.com/rma4ok/grunt-bg-shell/issues/14.

    Suggested alternatives were:

    • https://www.npmjs.org/package/grunt-forever
    • https://www.npmjs.org/package/grunt-nodemon

提交回复
热议问题