jarvis watch
Watch a repo and debounce-reindex on filesystem changes.
Prerequisite: the [watch] extra
Section titled “Prerequisite: the [watch] extra”uv tool install "jarvis-mcp[watch]"This installs watchdog (optional dependency; its import is deferred, so a base install never
needs it just to run jarvis index/list/status). Without the extra, jarvis watch fails
with an install hint. See the Quickstart’s optional extras tip before installing.
jarvis watch <path> [options]Arguments
Section titled “Arguments”| Name | Required | Description |
|---|---|---|
path | yes | Path to the repo to watch |
Options
Section titled “Options”| Flag | Description |
|---|---|
--slug <name> | Override the auto-derived slug |
--scheme <name> | Xcode scheme to build (Swift repos using xcodebuild with more than one scheme) |
--debounce <seconds> | Quiet-period seconds, float, default 5.0 |
--language <name> | Force the indexer language instead of detecting it from git-tracked files. Persisted and reused by reindex/watch |
Behavior
Section titled “Behavior”- Not a daemon requirement — an optional foreground command a user runs while actively editing.
- Debounced auto-reindex: filesystem events trigger a reindex only after
--debounceseconds of quiet, so a burst of saves triggers one reindex, not one per file. - Reuses the options persisted at
jarvis indextime (--search-only,--semantic-include,--scheme) unless overridden on the command line.
Example
Section titled “Example”jarvis watch /path/to/your/repo --debounce 3