Re:Rebuild code automatically with "watch" and a makefile
by jkrippy on Sunday March 31, 2013 @07:06AM
(#5468350)
I use 'entr' for this, which uses kqueue(2) to avoid polling:
[ Parent
| on HN ]
Re:Rebuild code automatically with "watch" and a makefile
by graue on Sunday March 31, 2013 @08:13AM
(#5468461)
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.
Re:Rebuild code automatically with "watch" and a makefile
by mitchty on Monday April 01, 2013 @04:25PM
(#5475660)
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.
Re:Rebuild code automatically with "watch" and a makefile
by norswap on Sunday March 31, 2013 @10:08AM
(#5468646)
There is also watchr:
https://github.com/mynyml/watchr