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

Fechada
#3,053 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@fengmk2 já está trabalhando nisso.

Desde 14/10/2026.

  • #3056 de @fengmk2 — aberto

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
Rust
Estrelas
6.5k
Forks
297
Merge médio
20h 18min
PRs com merge (30d)
236

Preparar o ambiente

Abrir no Codespaces

Inicia o contêiner de desenvolvimento do projeto no navegador, com a sua própria conta do GitHub.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de voidzero-dev/vite-plus

Todas as issues de voidzero-dev/vite-plus

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.