Watch mode
Watch mode turns a review into a continuous view of a changing source.
Start a watched review
Section titled “Start a watched review”hunk diff --watchHunk observes direct-file and Git-backed inputs for prompt refreshes and keeps periodic polling as a fallback. It polls Jujutsu and Sapling input.
Other reopenable inputs also work:
hunk show HEAD~1 --watchhunk diff before.ts after.ts --watchhunk patch changes.patch --watchKnow what can reload
Section titled “Know what can reload”Watch mode requires input Hunk can open again. Stdin-backed patches and stdin agent context cannot be watched:
# Snapshot only; --watch would failsome-command | hunk patch -Save changing output to a file or use a repository-backed command instead.
Refresh manually
Section titled “Refresh manually”Press r for a reloadable review when you need an immediate refresh without continuous watch mode. A live agent can also use hunk session reload to replace the session's entire input.