Add watch mode and an on-success command to vp check
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bun, node.js, rust, typescript
Línea de trabajo
Start at the vp check command implementation and compare its options and watch behavior with vp pack; the issue does not name source files or tests. Trace how checks run and how watched files are detected, then identify where a success command could be started or restarted. Done means checks run on startup and changes, the command runs only after passing checks, and --fix does not cause redundant reruns.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
I use Vite Plus to format, lint, and type-check TypeScript scripts before running them with Node or Bun.
Currently, vp check has no watch mode or success hook, so this workflow requires a separate watcher. vp pack offers these options, but introduces a build step that isn’t needed when running TypeScript directly.
Related to #1117 and #3141.
Suggested solution
Support something like:
vp check --fix --watch --on-success "node src/main.ts"
On startup and after file changes:
- Run the configured formatting, linting, and type checks.
- Run or restart the command only when checks pass.
- Avoid redundant reruns caused by --fix modifying watched files.
It would also be useful to watch additional files, such as .env, that can affect execution without being TypeScript inputs.
Alternative
No response
Additional context
No response
Validations
- Read the Contributing Guidelines.
- Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- Check that there isn't already an issue requesting the same feature.
- Lenguaje dominante
- Rust
- Estrellas
- 6.5k
- Forks
- 296
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 229
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de voidzero-dev/vite-plus
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and laterPosiblemente ocupada @kshanxs la tomó hace 2 días. Abiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
voidzero-dev/vite-plus#3219 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pending triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
voidzero-dev/vite-plus#2882 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
vp run -r executes each package task twice when the root package has a matching recursive scriptPosiblemente ocupada @wan9chi la tomó hace 2 días. Abiertopending triage
voidzero-dev/vite-plus#3221 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
LSP loads vite.config.ts with the server's cwd as rootPosiblemente ocupada @leaysgur la tomó hace 3 días. Abiertopending triage
voidzero-dev/vite-plus#3217 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
vp migrate doesn't flag esbuild-specific config (minify: "esbuild") — migrated project fails to build on Vite 8Posiblemente ocupada @john-okeefe la tomó hace 5 días. Abiertocontribution welcome
voidzero-dev/vite-plus#3176 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de voidzero-dev/vite-plus
Issues similares
-
accounts bug decoding
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
wboayue/rust-ibapi#1088 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
`mise doctor` Shows Not Installed Lazy Tools as ProblemsPosiblemente ocupada @jdx la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
area:kernel needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
bherbruck/solvecraft#7179 · 1 comentario ·
-
priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 61/100
storytold/photocraft#9704 · 3 comentarios ·
Los mantenedores suelen responder en 1 día