Stop a gulp watch task?

后端 未结 3 835
情书的邮戳
情书的邮戳 2021-02-14 09:24

How do I stop a running gulp watch task without having to completely exit the program?

I can see the task running on the task bar bottom left with a spinning \"slashes\"

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-14 10:23

    If you ever wonder what

    search for "Terminate Running Task."

    does behind the scenes: "workbench.action.tasks.terminate".

    so you can just bind it, like this:

    { "key": "ctrl+shift+t", "command": "workbench.action.tasks.terminate" }
    

提交回复
热议问题