Conversation
Add a persistent watch scheduler that restarts affected tasks and their dependents while preserving unrelated running commands. Observe file access while commands are running, retain input tracking without caching, and manage process trees across Unix and Windows. Include watch usage documentation and regression coverage for file changes, dependency scheduling, caching, cancellation, and live tracing. Developed with AI assistance from OpenAI Codex (GPT-6). Co-authored-by: GPT-6 Codex <codex@openai.com>
Co-authored-by: GPT-6 Codex <codex@openai.com>
kdy1
marked this pull request as ready for review
September 18, 2026 08:19
kdy1
marked this pull request as draft
September 18, 2026 08:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
vp runshould keep tasks up to date as their inputs change, including restarting long-running commands. This implements the file-change-triggered task execution described in delinoio/oss#894.Related reference: @cnakazawa's post on X.
Changes
vp run --watch build: run immediately, then restart affected tasks and their dependents after input changes, keeping unrelated tasks running.Task definitions and dependency relationships are fixed when watch starts. Existing dependency tasks must finish before their dependents run; service-readiness dependencies are outside this change.
AI disclosure
This implementation was developed with AI assistance from OpenAI Codex (GPT-6). The commits include an AI co-author trailer.