Skip to content

feat: add watch mode for reloadable reviews#91

Merged
benvinegar merged 1 commit intomainfrom
feat/watch-mode
Mar 23, 2026
Merged

feat: add watch mode for reloadable reviews#91
benvinegar merged 1 commit intomainfrom
feat/watch-mode

Conversation

@benvinegar
Copy link
Copy Markdown
Member

Summary

  • add --watch to reloadable review commands like diff, show, stash show, patch, and difftool
  • introduce shared watch helpers to determine whether an input can be reopened and to detect source changes
  • auto-reload watched sessions in place while preserving shell state, and document/test the new workflow

Details

  • reject unsupported watch inputs up front, including stdin-backed patch input and --agent-context -
  • reuse shared Git arg builders so watch-mode polling tracks the exact same Git patch text the loader renders
  • show watch on in the status bar when auto-refresh is active

Testing

  • bun run typecheck
  • bun test
  • bun run test:tty-smoke

@benvinegar benvinegar merged commit 0807139 into main Mar 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant