`vp dev` does not print "ready in N ms"
维护者通常 1 天内回复
评估
这个 Issue 还没有评估数据。
描述
Describe the bug
vp dev prints Vite's banner without the ready in N ms line that vite prints. Scripts that wait for that line to know the dev server is up therefore time out after vp migrate rewrites vite to vp dev.
Vite prints ready in only when global.__vite_start_time is set, and Vite's own bin/vite.js sets it. Nothing in Vite+ sets it, so the line never appears.
Reproduction
jaeger-ui's dev:check greps the dev server output for ready in and fails after migrate; the test branch works around it by also accepting the http://localhost: line (fork PR). The same banner without ready in appears with vite-plus v1.1.0, so this is not new in v1.2.0.
Suggested fix
Set global.__vite_start_time = performance.now() where vp dev starts, as Vite's CLI does, so the banner matches vite dev.
- 主要语言
- Rust
- 星标
- 6k
- 派生
- 274
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 205
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
voidzero-dev/vite-plus 的其他 Issue
-
pending triage
难度 2/5 1-3 小时 新手友好度 72/100
voidzero-dev/vite-plus#2882 · 2 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 62/100
voidzero-dev/vite-plus#2097 · 10 条评论 · 2 个 reaction ·
维护者通常 1 天内回复
-
pending triage
难度 3/5 1-2 天 新手友好度 45/100
voidzero-dev/vite-plus#3092 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
voidzero-dev/vite-plus#3091 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 30/100
voidzero-dev/vite-plus#3090 ·
维护者通常 1 天内回复
查看 voidzero-dev/vite-plus 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
shep-pm/shep-kelpie#980 ·
维护者通常 1 天内回复
-
bug frontend rt sev-3
难度 2/5 1-3 小时 新手友好度 72/100
-
C-bug
难度 1/5 1 小时以内 新手友好度 88/100
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adapters未关闭triage
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
area:cli bug good first issue priority:medium
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复