From 60529f6b8f72d1edf6962fc34bd335b3bdb75603 Mon Sep 17 00:00:00 2001 From: Dan Jones Date: Mon, 6 Mar 2023 22:01:50 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Add=20serve=20command=20to=20Mak?= =?UTF-8?q?efile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index c4f716b..8ef896e 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,10 @@ all: build/index.html build/style.css clean: rm -v build/index.html build/style.css* +.PHONY: serve +serve: all + php -S 0.0.0.0:7654 -t build + build/index.html: index.html config.toml compile.js node compile.js $(compile_opts)