codebase_watch
Watch a project directory for file changes and automatically update the codebase index. Ensures the index is always current by running an incremental update on start and debounced updates on subsequent changes.
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. |