# reflex
> Watch a directory and rerun a command when files change

## Summary
Go-based file watcher that reruns commands when matching files change

## Capabilities
- Watch directories for file changes
- Run commands when files matching patterns change
- Support glob patterns for file matching
- Run multiple watchers simultaneously

## When to Use
- You need to rerun commands when files change
- You want file watching with glob pattern support

## When NOT to Use
- You need a simple single-command file watcher (use entr)

## Related Tools
- [entr](/tools/entr) (complementary)

---
Source: https://littlescripts.sh/tools/reflex
