codebase_watch
Automatically sync a project's index with file changes by starting a watcher that first runs an incremental update to catch missed changes, then continuously updates via debounced file system monitoring.
Instructions
Start/stop watching a project directory for file changes and automatically update the index. When starting, first runs an incremental update to catch any changes made since the last session, then keeps the index up to date via debounced file system watching.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Absolute path to the project directory. | |
| action | Yes | start/stop watching, or get status of watchers. |