Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Add watch mode and an on-success command to vp check

Abierto
#3,218 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Área
cli, tooling

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

pending triage
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

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de voidzero-dev/vite-plus

Todos los issues de voidzero-dev/vite-plus

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.