voidzero-dev / voidzero-dev/vite-task
Proposal: `vp run --watch` (re-run tasks on changes) leveraging existing tracking/caching
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 466
- Forks
- 42
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 19
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Vite Tasks CLI definition and existing run and cache commands to understand where a watch mode could fit. Review the proposed MVP for watching configured paths, then establish the command syntax, rerun behavior, and debounce expectations; the work is done when the agreed watch interface and basic file-change reruns are implemented without changing normal behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100