aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2024-01-26 13:41:44 -0500
committertdro <tdro@noreply.example.com>2024-01-26 13:41:44 -0500
commit76d02e129281b8bc05d22127645a099d6f4b24ca (patch)
treea6e4af52d56ae802585a2e329aa5ec95dfa2e07e /Makefile
parent4f3b9e7971a2cc79c1575742e16801674584dfaa (diff)
downloadcanory-76d02e129281b8bc05d22127645a099d6f4b24ca.tar.gz
canory-76d02e129281b8bc05d22127645a099d6f4b24ca.tar.bz2
canory-76d02e129281b8bc05d22127645a099d6f4b24ca.zip
Makefile: Watch source control files only
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f59a2a9..c645b91 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ help: # Show this help menu
@printf "\n%s\n\n" "$$(grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | column -s ':#' -t)"
watch: # Watch and rebuild everything
- while true; do find . | entr -d -s 'make build'; done
+ while true; do git ls-files -cdmo --exclude-standard --exclude tests | entr -d -s 'make build'; done
monitor: # Monitor for files changes
inotifywait --monitor --recursive --event modify .