aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-08-25 17:24:44 -0400
committertdro <tdro@noreply.example.com>2023-08-25 17:28:05 -0400
commitb2e9212cc791e38b7b4bc291d533a662c7429d45 (patch)
tree15b8e400904229a25c13111424dae7d1f886ecb7 /Makefile
parent237f56e366a4f89c12699a57df1148d19a224263 (diff)
downloadcanory-b2e9212cc791e38b7b4bc291d533a662c7429d45.tar.gz
canory-b2e9212cc791e38b7b4bc291d533a662c7429d45.tar.bz2
canory-b2e9212cc791e38b7b4bc291d533a662c7429d45.zip
shell: Swap to inotifywait
strace is overkill
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e2b8d27..749a730 100644
--- a/Makefile
+++ b/Makefile
@@ -17,10 +17,11 @@ hugo:
rm -rf public
hugo --logLevel debug --templateMetrics --templateMetricsHints
hugo --logLevel debug --templateMetrics --templateMetricsHints
-# strace --decode-fds --trace=write hugo --logLevel debug --templateMetrics --templateMetricsHints 2>&1 | grep -v -- ---
-# strace --decode-fds --trace=write hugo --logLevel debug --templateMetrics --templateMetricsHints 2>&1 | grep -v -- ---
rm -f .hugo_build.lock
+monitor:
+ inotifywait --monitor --recursive --event modify .
+
server:
caddy file-server --listen :9294 --root public