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\"
In case others run across this question, open the Command Palette (Ctrl+Shift+P on Windows, Command+Shift+P on OSX, and search for "Terminate Running Task."
I was facing this issue from 2-3 months. Today I just opened tasks.json and saw hint that isWatching is deprecated instead use isBackground. I changed it and ran the task and terminated ,Voila it's working.
In short- Open tasks.json. If you see isWatching property on task change it to isBackground.
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" }