“entr” provides a nice interface to inotifySaved me a ton of time with small project I’m working on right now. Looks like it’s written in C.