Proposal: `vp run --watch` (re-run tasks on changes) leveraging existing tracking/caching
まだ誰も着手していません。
評価
調査の方向性
Vite Tasks CLI の定義と既存の run および cache コマンドから始めて、watch mode をどこに組み込めるかを理解します。設定されたパスを監視するために提案された MVP を確認し、その後、コマンド構文、再実行の動作、debounce に関する想定を決定します。合意した watch インターフェースと、ファイル変更時の基本的な再実行が通常の動作を変更せずに実装された時点で、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
In monorepos, a common workflow is “run lint/tests/build continuously as files change.”
mise provides mise watch as a first-class feature. Vite Tasks already has planning/caching and (in the broader Vite+ ecosystem) file dependency ideas, so watch-mode could be especially powerful.
Evidence (primary)
- Vite Tasks CLI currently exposes
runandcache ...commands; no watch flag/subcommand is visible in the CLI definition.
Proposed behavior (Unspecified)
vp run --watch <task>orvp watch <task>(syntax unspecified)- On file changes, rerun the task (possibly only the necessary affected subtasks)
- Provide debounce/throttle config (unspecified)
Backward compatibility
- Additive feature; no change to current behavior unless used.
Minimal implementation suggestion (MVP)
- Start with a basic file watcher over a configured path set.
- Iterate to use tracked inputs/outputs to narrow watch scope, and integrate with caching.
- 主要言語
- Rust
- スター
- 466
- フォーク
- 42
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 21
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-task のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
voidzero-dev/vite-task#738 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
voidzero-dev/vite-task#719 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
voidzero-dev/vite-task#717 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
voidzero-dev/vite-task#702 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
voidzero-dev/vite-task#700 · コメント 2 件 ·
voidzero-dev/vite-task の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
state:needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
zed-industries/zed#64680 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
RustPython/RustPython#8802 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TheLarkInn/aipm#2390 ·