feat(cli): watch mode for convert (#39) #48

Merged
warkanum merged 1 commits from issue-39-watch-mode into master 2026-10-03 18:11:10 +00:00
Member

Adds relspec convert --watch (+ --watch-interval): converts once, then regenerates whenever the source files (--from-path file/dir or --from-list) change. Dependency-free mtime/size polling with debounce; output path excluded to avoid loops; conversion errors don't stop the watcher; Ctrl-C exits cleanly. Rejected with live DB sources and --dry-run.

Refs #39

🤖 Generated with Claude Code

Adds `relspec convert --watch` (+ `--watch-interval`): converts once, then regenerates whenever the source files (--from-path file/dir or --from-list) change. Dependency-free mtime/size polling with debounce; output path excluded to avoid loops; conversion errors don't stop the watcher; Ctrl-C exits cleanly. Rejected with live DB sources and --dry-run. Refs #39 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sgcommand added 1 commit 2026-10-03 08:29:58 +00:00
Poll source files/directories and regenerate output on change.
Output path is excluded from watching; errors don't stop the loop.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
warkanum merged commit bc8284db25 into master 2026-10-03 18:11:10 +00:00
warkanum deleted branch issue-39-watch-mode 2026-10-03 18:11:10 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wdevs/relspecgo#48