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

fix unrelenting alert when hot reload fails #1953

Merged
merged 2 commits into from
Mar 1, 2022
Merged

Conversation

alexcjohnson
Copy link
Collaborator

@alexcjohnson alexcjohnson commented Feb 28, 2022

Fixes #1783

This really only gets triggered in workspaces - must be because the app is behind a proxy there. When you're pointed directly at the server a failure manifests as a refused connection, which the devtools detect as "the server stopped." But in workspaces the server appears present, just responding with a 500 error. To test this locally I temporarily threw an exception here.

Not intending to add a test for this, it would be awfully cumbersome and unclear that it would actually be representative of the real condition.

  • I have added entry in the CHANGELOG.md

Copy link
Member

@chriddyp chriddyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💃🏼

@alexcjohnson alexcjohnson merged commit 7f87389 into dev Mar 1, 2022
@alexcjohnson alexcjohnson deleted the quieter-reloader branch March 1, 2022 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Less aggressive Reloader alert
2 participants