The injected client.js will try to reconnect to the sse endpoint as soon as the port is bound
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- backend
调研方向
Reproduce the sequence with webdev_proxy serve, a Chrome tab on the served port, termination, and restart. Start by inspecting the injected client.js and the SSE endpoint handling; done means the initial reconnect during startup no longer produces a server-log error while the connection succeeds once webdev serve is ready.
由索引模型根据 Issue 内容生成。
描述
- Run
webdev_proxy serve - Open the served port in a chrome browser tab
- Terminate the
webdev_proxy serveinstance - Restart
webdev_proxy serveand note that the browser tab immediately tries to reestablish its SSE connection which produces an error in the server logs because the underlyingwebdev serveprocess 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).
- 主要语言
- JavaScript
- 星标
- 11
- 派生
- 7
- 平均合并
- 29 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Workiva/webdev_proxy 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
Workiva/webdev_proxy#10 · 1 条评论 ·
查看 Workiva/webdev_proxy 的全部 Issue