Hacker News new | ask | show | jobs
by jkrippy 4830 days ago
I use 'entr' for this, which uses kqueue(2) to avoid polling:

  * http://entrproject.org/
  * https://bitbucket.org/eradman/entr/
2 comments

Neat, that looks like a much more well-engineered and less hacky solution. While I'm happy with what I have now, I've bookmarked this in case I need it later for a bigger/more complicated project.
I like it, nice and simple too, not even a configure script.

Created a tap for it on homebrew if anyone wants to use it.

brew tap mitchty/entr if you want to test it out.

There is also watchr: https://github.com/mynyml/watchr