Add watch mode and an on-success command to vp check
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- bun, node.js, rust, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Rust
- Sterne
- 6.5k
- Forks
- 296
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 229
Entwicklungsumgebung
Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus voidzero-dev/vite-plus
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and laterEvtl. vergeben @kshanxs hat das vor 1 Tag übernommen. Offendocumentation
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
voidzero-dev/vite-plus#3219 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
pending triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
voidzero-dev/vite-plus#2882 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
vp run -r executes each package task twice when the root package has a matching recursive scriptEvtl. vergeben @wan9chi hat das vor 2 Tagen übernommen. Offenpending triage
voidzero-dev/vite-plus#3221 · 1 Kommentar · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
LSP loads vite.config.ts with the server's cwd as rootEvtl. vergeben @leaysgur hat das vor 2 Tagen übernommen. Offenpending triage
voidzero-dev/vite-plus#3217 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
vp migrate doesn't flag esbuild-specific config (minify: "esbuild") — migrated project fails to build on Vite 8Evtl. vergeben @john-okeefe hat das vor 4 Tagen übernommen. Offencontribution welcome
voidzero-dev/vite-plus#3176 · 1 Reaktion · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in voidzero-dev/vite-plus
Ähnliche Issues
-
bug priority: P3 ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
shep-pm/shep-kelpie#1332 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
ramensoftware/windhawk#1156 · 2 Kommentare ·
-
units: No `#` in rustdoc headingEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 67/100
rust-bitcoin/rust-bitcoin#7089 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 2 Tagen
-
phase:3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
pchrysostomou/ananke#183 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/tools bug session-analysis
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag