File Watcher Setup
Set up file watchers to automatically trigger builds, tests, or other tasks when files change.
Usage
Describe what should happen when files change and this skill will configure the appropriate watcher.
Examples
- "Watch my TypeScript files and auto-compile on changes"
- "Set up nodemon to restart my server when source files change"
- "Trigger tests automatically when test or source files are modified"
Guidelines
- Ignore build output directories to prevent infinite loops
- Use debouncing to batch rapid file changes
- Configure glob patterns to watch only relevant files
- Set appropriate polling intervals for network file systems
- Log watcher activity for debugging unexpected behavior