-
Notifications
You must be signed in to change notification settings - Fork 12
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
Ctrl + C takes a very long time #3
Comments
This is because most of the operations are synchronous I believe. |
Which means that the process exit handlers have to wait until the main thread is unlocked to run the cleanup task. |
Ah ok, so this means that at least for the time being there is no simple workaround? |
Correct, but I do think a fix is possible, just not a quick-fix. |
When I hit Ctrl+C during a build (either Getting back to the issue at hand, do you still see the "delayed exit" behavior on Mac? I actually don't remember ever seeing this problem myself, so perhaps it's platform-specific. |
mid-build cancellation PR broccolijs/broccoli#350 (forward port from ember-cli's fork) should address this. |
This continues to be a surprising behavior, and something to talk around when introducing Broccoli to a new developer. Other build tool CLIs exit promptly on control-C... it would be ideal to catch up with the mainstream on this! |
After running
broccoli serve
and hittingCtrl + C
to stop the command it takes ~30 seconds until the command actually finished and the shell is responsive again.All I did was cloning the sample app and running
broccoli serve
on that as-is.The text was updated successfully, but these errors were encountered: