-
Notifications
You must be signed in to change notification settings - Fork 995
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
Properly kill dev api-server #11691
Properly kill dev api-server #11691
Conversation
new Promise<void>((resolve) => { | ||
console.log( | ||
chalk.yellow( | ||
'API server did not exit within 2 seconds, forcefully closing it.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: This message seems inaccurate? This is the first attempt at closing the API server, so maybe we should change it to something like "Shutting down API server."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, that's a left-out-test-log. Since I could not repro the delayed kill, I wanted to see what "yellow" looked like, so I moved up to the "normal" case.
Thanks for catching it!
@peterp are we ok to merge? |
Don't wait for me. If @peterp is good with this then it's good with me. |
Peter already approved it. So, I'll pull the trigger here. :D |
Changes are: