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

The injected client.js will try to reconnect to the sse endpoint as soon as the port is bound #7

Open
evanweible-wf opened this issue Aug 6, 2019 · 0 comments

Comments

@evanweible-wf
Copy link
Contributor

  1. Run webdev_proxy serve
  2. Open the served port in a chrome browser tab
  3. Terminate the webdev_proxy serve instance
  4. Restart webdev_proxy serve and note that the browser tab immediately tries to reestablish its SSE connection which produces an error in the server logs because the underlying webdev serve process has not yet started

We likely just need to detect this scenario during startup and silence the error on first request to that endpoint (it ends up succeeding as soon as webdev serve has started up).

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

No branches or pull requests

1 participant