Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`vp dev` does not print "ready in N ms"

Đang mở
#3,053 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@fengmk2 đang làm issue này rồi.

Từ ngày 14/10/2026.

  • #3056 của @fengmk2 — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug
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.

Ngôn ngữ chính
Rust
Star
6k
Fork
274
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
206

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voidzero-dev/vite-plus

Tất cả issue của voidzero-dev/vite-plus

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.