https://github.com/bbc2/loop
Run command and repeat it when files change
https://github.com/bbc2/loop
filesystem inotifywait loop test-driven-development testing
Last synced: 3 months ago
JSON representation
Run command and repeat it when files change
- Host: GitHub
- URL: https://github.com/bbc2/loop
- Owner: bbc2
- Created: 2019-04-04T09:35:19.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-03T21:45:20.000Z (over 1 year ago)
- Last Synced: 2025-04-11T18:53:21.944Z (6 months ago)
- Topics: filesystem, inotifywait, loop, test-driven-development, testing
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Loop
Run command and repeat it when files change.
## Dependencies
* [inotify-tools](https://github.com/rvoicilas/inotify-tools)
* [fd](https://github.com/sharkdp/fd)## Example
```
> loop ./run_tests.sh
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (red)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (green)
```