atom-gulp-control
atom-gulp-control copied to clipboard
Add option to stop a gulp task
I have a gulp task called serve which turns on the server for my application at specific port. I want to be able to stop this task at my will.
+1
+1
+1
Gulp task will only run one task at a time so you can workaround this by creating a "stop" task that does nothing. Personally, when I want to stop serving I just run my build or clean task.
+1. I have the same issue. If I run a different task, close the gulp-control tab, or even close Atom there are still python.exe processes running my server. I didn't realize this and one day I found I had 30 python processes running!
+1
+1
:+1:
Agreed, it would be very nice to be able to stop watch tasks and destroy the process. Any progress on this?
Did some digging into this problem behind this. It seems to be related to the fact that atom's BufferedProcess class doesn't kill children of children.
Relevant issue (i think): https://github.com/atom/atom/issues/7252.
I did some modifications that allow you to click on an active process to kill it, but if your process creates other child processes, it won't effectively kill them.
+1
:+1:
+1, created a stop task but this should really be a built in feature.
This should be fixed once a release is made :smile:
:+1:
+1