Watching & Logs¶
Watch mode¶
Automatically rebuild when files change:
must uses filesystem watchers (via notify crate) to detect changes. When a change is detected:
- Debounce for 200ms (avoid thrashing on multi-file saves)
- Rebuild all watched recipes
- Print results
- Wait for next change
Press Ctrl+C to stop.
Build logs¶
must stores build output for each recipe execution.
View a log¶
Follow in real time¶
Streams new output as it arrives (like tail -f).
List all logs¶
Output:
Clear logs¶
Log location¶
Logs are stored in .must/logs/ as <recipe-name>.log files.
Add to .gitignore: