Add watch mode and an on-success command to vp check
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, node.js, rust, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 6.5k
- フォーク
- 296
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 224
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
voidzero-dev/vite-plus#3235 ·
メンテナーはふだん 1 日以内に返信
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and later対応中かも @kshanxs が 4 日前に担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
voidzero-dev/vite-plus#3219 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/vite-plus#2882 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 53/100
voidzero-dev/vite-plus#3254 ·
メンテナーはふだん 1 日以内に返信
-
Operate environment tools only when global-cli is installed with managed mode enabled in `vite-plus` package対応中かも @liangmiQwQ が 1 日前に担当しました。 オープンbug enhancement
voidzero-dev/vite-plus#3252 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
vorbis: Inverse coupling runs in wrong order対応中かも @computerfan が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
area:kernel needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bherbruck/solvecraft#8454 · リアクション 1 件 ·
-
Add `Path.parent`オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
audit(c2): assert [profile.release] parity across RUST_MANIFESTS in scripts/ci/check-workfl (C2-26)オープンhygiene type:refactor
難易度 2/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信