An open API service indexing awesome lists of open source software.

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

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)
```