Overview
Continuously monitor session data with automatic updates. Similar to Unixtail -f, this command refreshes the display at regular intervals to show the latest network requests and console messages.
Syntax
Options
Number of items to display. Valid range: 1-1000.
Update interval in milliseconds. Valid range: 100-60000 (0.1s to 60s).
Show only network requests.
Show only console messages.
Use verbose output with full URLs and formatting.
Output as JSON instead of human-readable format.
JSON mode outputs the same format as
bdg peek --json but updates continuously.Output Format
Human-Readable (Default)
The display refreshes automatically, clearing the screen with each update: Compact format (default):--verbose):
JSON Format
Outputs the same JSON structure asbdg peek, refreshing at the specified interval:
Examples
Basic Usage
Start monitoring with defaults (last 10 items, update every second):Filter by Data Type
Monitor only network traffic:High-Frequency Updates
Update twice per second (500ms interval):Verbose Monitoring
Watch with full details:JSON Streaming
Stream JSON output for processing:Behavior
Auto-Refresh
- Screen clears before each update
- Timestamp shows when the data was last refreshed
- Updates continue until interrupted with
Ctrl+C
Error Handling
If the daemon connection is lost during monitoring: Follow mode (default):- Retries connection automatically
- Continues retrying until successful or interrupted
- Uses the interval setting as retry delay
--json not set):
- Shows error message
- Exits with appropriate exit code
Signal Handling
Graceful shutdown onCtrl+C:
Comparison with bdg peek --follow
Both commands provide continuous monitoring, with subtle differences:
| Feature | bdg tail | bdg peek --follow |
|---|---|---|
| Primary use | Dedicated monitoring | Preview with optional follow |
| Interval control | --interval flag | Fixed 1000ms |
| Semantics | Unix-style tail | Peek with live updates |
| Resource type filter | ❌ Not available | ✅ --type flag |
| DOM data | ❌ Not available | ✅ --dom flag |
Exit Codes
Command completed successfully (user interrupted with Ctrl+C).
Invalid option value.Common causes:
--lastvalue outside range 1-1000--intervalvalue outside range 100-60000
No active session found.Solution: Start a session first with
bdg <url>Cannot connect to daemon (in non-follow scenarios).Solution: Check session status with
bdg statusRelated Commands
bdg peek- One-time preview with filtering optionsbdg details- Get detailed information for specific itemsbdg console- Smart console message inspectionbdg network list- Enhanced network request filtering

