watch_start
Start watching component files for changes. On each save, the component is automatically rendered, enabling a live feedback loop for UI edits.
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 |