Skip to content
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

Vite: Make the bail function work if the server fails to start #20243

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

tmeasday
Copy link
Member

Issue: #20242

What I did

The bail function didn't check the server actually existed. Plus it had some odd behaviour when it errored (catching and then rethrowing an optional error argument, that actually was never defined).

How to test

Run SB with Vite 4, or simply add a throw to start() in builder-vite/index.ts

@shilman shilman merged commit f4f7989 into next Dec 14, 2022
@shilman shilman deleted the 20242-handle-bail-better branch December 14, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants