entr

#Tools #cli

Run command on any file change in directory, including new files:

while true; do find -type f | entr -d echo something changed; done