This seems to fill a similar role as watchman[1] (specifically with watchman-make[2])
I've heard good things about watchman because it will make a best effort to let filesystem changes "settle" before running the command specified. If there's a comparison of these two written up or if someone can give their testimonial I'd love to hear it.