A file system watcher that monitors directories for changes and triggers configurable actions. Supports glob pattern matching, recursive watching, debouncing, and multiple action types: shell commands
Browse the actual product documentation and code examples included in this toolkit.
Key features of File Watcher
• Directory monitoring — Poll-based filesystem watching (works on any OS) • Glob pattern matching — Watch only `*.py`, `*.csv`, `data/*.json`, etc. • Recursive watching — Monitor subdirectories automatically • Debouncing — Configurable delay to batch rapid changes into single events • Shell command triggers — Run any command on file change • Webhook triggers — POST change events to any HTTP endpoint
Directory monitoring — Poll-based filesystem watching (works on any OS)
Glob pattern matching — Watch only `*.py`, `*.csv`, `data/*.json`, etc.
Recursive watching — Monitor subdirectories automatically
Debouncing — Configurable delay to batch rapid changes into single events
Shell command triggers — Run any command on file change
Webhook triggers — POST change events to any HTTP endpoint
Configure File Watcher parameters to see how the product works.
# Watch a directory and run tests on Python file changes
python src/file_watcher.py --watch ./src --pattern "*.py" --command "python -m pytest"
# Watch for CSV changes and hit a webhook
python src/file_watcher.py --watch ./data --pattern "*.csv" \
--webhook https://api.example.com/v1/reload
#