3 ms·
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 modi
by oso2k 9y ago
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
- lloeki 9y agoIf you care for it, fswatch is cross-platform: https://github.com/emcrisostomo/fswatch https://github.com/emcrisostomo/fswatch