-
Notifications
You must be signed in to change notification settings - Fork 733
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
Devserver should exit more cleanly after being terminated with "Ctrl-C" #7955
Comments
I don't recall having seen errors, but I always have to type Ctrl+C twice, sometimes even 3 times, for the server to actually stop. Python 3.6.9 |
I've done some investigation of this, as I was confused, and it's not to do with the Python server itself, but because it's being run from |
Flagging as a regression because |
update: re-opening #8465 and removing regression label because they seem to be different issues |
Observed behavior
yarn run devserver-hot
kolibri start
)Note: This might depend on when Ctrl-C is pressed. Looking into this. Sometimes Ctrl-C will cause cherrypy to raise an error, sometimes not. But the
INFO
logs consistently happen after the prompt is restored.Errors and logs
Logs start at
^C
(Ctrl-C)Then after the prompt
Expected behavior
Turning off the dev-server raises no errors, and is more similar to running the production server.
And then a clean prompt appears underneath
Steps to reproduce
Context
Python 3.6.8
MacOS
Running in dev mode
The text was updated successfully, but these errors were encountered: