yep...specifically, use the -d flag in a loop since all it does it exits the process when a new file is added:
while true; do ls -d src/*.c | entr -d <cmd>; done while true; do ls -d src/*.c | entr -d <cmd>; doneNo comments yet.