7 ms·
I think the interface for `-d` is clunky, but here is the way it is intended to be used: $ while true; do > ls -d src/*.py | entr -d ./setup.py > d
by jdxcode 6y ago
I think the interface for `-d` is clunky, but here is the way it is intended to be used:
$ while true; do
> ls -d src/*.py | entr -d ./setup.py
> done
that way when a file/dir is added/removed it restarts
- Groxx 6y agoThis is in fact the documented recommendation, from the manpage: Rebuild project if a source file is modified or added to the src/ directory: $ while true; do ls src/*.rb | entr -d make; done