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
babel-node: ctrl-c doesn't kill runaway node process #1062
Comments
@agentme be sure to install the package
|
I'm on OS X and using node 0.10.36 still if it matters. I've installed kexec globally now. I can now fully kill babel-node with ctrl-, though during an infinite loop, now ctrl-C does nothing but add "^C" to the terminal, without killing anything. Not really an issue for me, though it is odd. |
@agentme I can't reproduce this on iojs/Linux. Can you do me a favor and tell me if |
No SIGINT handlers in my code; the issue happens for me with even just a simple while(true){} loop.
|
Ah, you are using a Tagging @sebmck; Here is my guess at what is happening: Babel's cache manager adds a Fixing this would require upstream help. My suggestion is to workaround the problem and save the cache data at some point other than a |
@monsanto Yep, that's exactly right. There isn't really any other place to save it other than in |
@sebmck when you modify the cache, queue a |
|
@fzaninotto |
confirmed, That being said, I suggest you add it as a recommended dependency, and make it more obvious that it's required for running |
I'm dumped back to the shell, but the program is still running simultaneously. I have to do
killall node
to fix it.Usually when I accidentally make infinite loops, they're not printing anything, so I only later realize I have a bunch of extra node processes still around hogging CPU when my laptop starts heating up.
The text was updated successfully, but these errors were encountered: