about summary refs log tree commit diff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/makefile b/makefile
index 61f632a..8a24e90 100644
--- a/makefile
+++ b/makefile
@@ -30,13 +30,6 @@ gen: $(gen_BIN) $(SRC)
 watch:
 	@ find . -print | entr -nc -dd -- $(MAKE)
 
-
-CADDY_HTTP_PORT ?= 1414
-
-serve:
-	@ caddy fmt --overwrite
-	@ caddy run --watch
-
 watch-and-serve:
 	@ ${MAKE} -j2 watch serve
 
@@ -44,5 +37,6 @@ was: watch-and-serve
 
 .PHONY: all clean serve watch watch-and-serve was
 
+include serve.mk
 include webdeploy.mk
 include edit.mk