by flukus · 8y ago · 0 comments
watch: $(ALL)
while true; do \
clear; \
make $(WATCH); \
inotifywait -qr -e close_write .; \
done
"make watch WATCH=build" will now compile documents on every save. Works well for single documents, collections of documents or entire websites.[1] https://gist.github.com/timpulver/0d01285952b97deb70df6104cc...