watch_start
Monitors component file changes and automatically renders the component on each save. Retrieve the rendered screenshot via watch_get_latest to see updates instantly.
Instructions
Start watching component files for changes. On every save, the component is automatically rendered and you will receive a notification — call watch_get_latest(id) to retrieve the rendered screenshot. Use this to create a live feedback loop while editing UI — the AI sees each change without you needing to call render_file manually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patterns | Yes | Glob patterns or absolute file paths to watch (e.g. ['src/components/Button.tsx']) | |
| props | No | Props to pass to the component on each render |