3 ms·
THIS is the lightest way to have continuous make, without wasting cycles and hammering the file system. inotifywait is a pretty standard tool that does exactly
by buserror 3y ago
THIS is the lightest way to have continuous make, without wasting cycles and hammering the file system. inotifywait is a pretty standard tool that does exactly what's needed.
watch :
while true; do \
clear; $(MAKE) -j all tests; \
inotifywait -qre close_write src tests; \
done