summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-04-13 13:02:29 +0100
committerJoe Carstairs <me@joeac.net>2026-04-13 13:02:29 +0100
commitb01017c632131cf7e154a13f71a98cf99eded78f (patch)
tree0d1195a42976701f8afb128d770a2685b08d8aa7
parentf2d006b955ecfa93aeed06e285f29be5ac05e31f (diff)
adds watch target to Makefile
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 847b50b..5e1471e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,9 @@
+watch:
+ while true; do \
+ $(MAKE) $(TARGET); \
+ inotifywait -qre close_write .; \
+ done
+
reading-log.pdf: reading-log.md bibliography.bib
pandoc \
--standalone \