about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefile b/makefile
index 04108ea..abe7de0 100644
--- a/makefile
+++ b/makefile
@@ -34,7 +34,10 @@ watch:
 serve:
 	@ caddy file-server -r . -l :1414
 
+watch-and-serve:
+	@ ${MAKE} -j2 watch serve
+
 deploy: run
 	@ rsync -vhhh --delete -Ccrz ./ $(DEPLOY_HOST):$(DEPLOY_DIR)/
 
-.PHONY: all clean serve watch
+.PHONY: all clean serve watch watch-and-serve