codebase_watch
Watch a project directory for file changes and automatically refresh the index, running an incremental catch-up update first. Start, stop, or check watcher status.
Instructions
Start/stop watching a project directory for file changes and automatically update the index. When starting, first runs an incremental update to catch up, then watches for changes. SOCRATICODE_WATCHER=manual allows explicit starts only; off and git reject file-watcher starts. In git mode, status reports Git refresh state and stop does not disable Git checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | start/stop watching, or get status of watchers. | |
| projectPath | No | Absolute path to the project directory. |