grunt watch task block the command line

前端 未结 5 1219
天涯浪人
天涯浪人 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:26

    For Windows use

    start grunt
    

    This will bring a CMD window that will "watch" in the background and leave the git-bash or cmd window you were working in the same as you left it.

    In other words, this will run the task in a separate cmd window for you.

    Just wanted to let people know this worked per the comments.

提交回复
热议问题