4 ms·
You can do it with inotify too tho , no ? Great project tho !
by teitoklien 5y ago
You can do it with inotify too tho , no ?
Great project tho !
- JeremyNT 5y ago'entr' will use inotify where available - the utility is that it's 1) cross-platform and 2) easy to integrate with shell scripting (rather than having to write a more complete inotify or other platform-specific tools). As an example, I use 'guard' [0] in a docker container, and on test failure it writes out to a file which is shared outside the container. It's easy for me to fire up a shell script that uses 'entr' to watch those files and pop up notifications when tests fail. [0] https://github.com/guard/guard https://github.com/guard/guard
- teitoklien 5y agoAh niceeeeee