Command reference
brb watch
Keep one registered repo synced continuously using adaptive batching and pause detection.
Reference
•https://docs.brbgit.com/brb-watchSyntax
bash
brb watch [--source <path>] [--quiet-window-ms <ms>] [--max-batch-window-ms <ms>] [--min-resync-gap-ms <ms>] [--base-url <url>]Timing controls
| Parameter | Description | Default |
|---|---|---|
| --quiet-window-ms | Wait for a natural editing pause before syncing. | 5000 |
| --max-batch-window-ms | Force a sync if edits keep coming for too long. | 30000 |
| --min-resync-gap-ms | Prevent immediate back-to-back syncs. | 2000 |
Compatibility alias
--debounce-ms still works as a compatibility alias for --quiet-window-ms.
Example
bash
brb watch \
--source ~/github/sample \
--base-url https://app.brbgit.com \
--quiet-window-ms 5000 \
--max-batch-window-ms 30000 \
--min-resync-gap-ms 2000Minimal default usage
cd ~/github/sample
brb watch