Make watch the default command#60
Conversation
- Remove `supermodel watch` subcommand; running `supermodel [path]` now starts the watch daemon directly - Fix log prefix from [files] to [supermodel] Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review WalkthroughThe watch command functionality is being moved from a dedicated Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
The 'watch' subcommand was removed in #60 — running 'supermodel [path]' is now the daemon. The setup wizard's exit message and several spots in the README still told users to run 'supermodel watch', which fails with 'unknown command'. Reported in #149. - internal/setup/wizard.go:133 — 'just run `supermodel watch`' → '`supermodel`' - internal/setup/wizard.go:194 — 'Run `supermodel watch` to restart' → '`supermodel`' - README.md — 'How it works', the agent compatibility table, and Quick start all updated to use the bare command. Closes #149.
Summary
supermodel watchas a named subcommand — runningsupermodel [path]now starts the watch daemon directly--cache-file,--debounce,--notify-port,--fs-watch,--poll-interval) onto the root command[files]to[supermodel]Test plan
supermodelstarts the watch daemon in the current directorysupermodel /path/to/repostarts the watch daemon in the given directorysupermodel watchis no longer a valid subcommand[supermodel]prefix🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
--cache-file,--debounce,--notify-port,--fs-watch, and--poll-interval.Breaking Changes
watchsubcommand has been removed.Chores