3 ms·
Pandoc (or latex) + make + iNotifyWait work really well together for WYSIWYG like editing too: watch: $(ALL) while true; do \ clear; \ make $(WAT
by flukus 8y ago
Pandoc (or latex) + make + iNotifyWait work really well together for WYSIWYG like editing too:
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.
- tetov 8y agoI've been using a JS script[1] to watch directories, but this seems neater. Would you mind sharing the whole makefile? [1] https://gist.github.com/timpulver/0d01285952b97deb70df6104cc316a4b https://gist.github.com/timpulver/0d01285952b97deb70df6104cc...
- deleted 8y ago[deleted]