Hacker News new | past | comments | ask | show | jobs | submit login

Easy enough (assuming $SRC is your list of source files and 'all' is top level target) 'make watch' could do this

   watch:
        while ! inotifywait -e modify $(SRC) ; do time -p make all; done



If you care for it, fswatch is cross-platform:

https://github.com/emcrisostomo/fswatch




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: