Skip to content

vp dev does not print "ready in N ms" #3053

Closed

Description

@fengmk2

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.

Activity

  1. self-assigned this
    on Oct 14, 2026
  2. added 3 commits that reference this issue on Oct 15, 2026
    8cabef8
    1c607bc
    ff3b83e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions