New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ending a watch task #26
Comments
What platform are you on? |
When I was trying it, I was on my work computer which is a Mac. I also run a Windows computer at home, but haven't tried it there yet. |
If understand correctly, you are referring to the Glue does not intercept any key bindings that you have set in Sublime Text. You can use Glue to kill system processes on Unix/Linux systems by identifying the pid (e.g. Hope this helps. -c |
It's just the standard terminal/command line 'CTRL-C' that aborts a running task. This isn't actually a Sublime Text keybinding. If you've ever used Jekyll, Sass, or Grunt, they all have "watch" tasks that run continuously until you press "CTRL-C" to abort it. In any case, it sounds like this isn't an option here, but it would be super useful if it were. I think the REPL plugin for Sublime Text has a "kill" feature if you wan to check it out at: https://github.com/wuub/SublimeREPL Thanks for your responses! |
Ah I see. No you are correct that is not available. glue doesn't maintain a pipe to the running process and would not be able to kill a long running command. It fires a system command and returns with any standard output printed to the 'terminal' view. The process is on its own after that... |
Ok, well thanks anyway. The Atom editor has the "Terminal Status" plugin that's pretty nice, but its plugins are made differently. I'm not a programmer, so I have no idea. Thanks again! |
Will check it out. Thanks for posting the info! |
I would love to have this kill option too! I just used this plugin for the first time to start a local web-server using nodejs. Since the server has to run continuously, this plugin would always be showing status "Running command". No way to stop the server. |
Thanks for the feedback! |
Hi! I don't know if it's useful (I didn't look at Glues code yet) but I wrote the Gulp package and I made a workaround just for this, if I understand correctly. If you want, you can check the ProcessCache on the Gulp repo (or ask me if you need something). Hope it helps! |
Fantastic! I will check it out. This is a popular request |
👍 |
Is it possible to end or kill a running task, such as a "watch" task? Typically this is done with CTRL-C, but that doesn't seem to work. Thanks!
The text was updated successfully, but these errors were encountered: