- Notifications
You must be signed in to change notification settings - Fork 11
Open
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackPriority
None yet