Watchers
A file system watcher that automatically creates git commits when files change.
Features
- Debounced commits: Only creates commits after file activity stops
- Automatic push: Optionally push commits to remote repository
Quick Start
- Create a configuration file:
# config/config.yml
watch_dir: "/path/to/your/project"
commit_delay_secs: 3
auto_push: true
- Run the watcher:
The watcher will monitor the specified directory and automatically create commits when files change, waiting for the configured delay period to ensure no rapid-fire commits.
Configuration
watch_dir: Directory to monitor for changescommit_delay_secs: Seconds to wait after last change before committingauto_push: Whether to automatically push commits to remote
Development
# Build
# Run with debug logging
RUST_LOG=debug
# Run tests