From 58be14cb6417a332f1b2dace33ff44daecfa11f4 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 18 Oct 2022 01:04:39 +0200 Subject: [PATCH] update makefile * use test to get hints * change serve option order * servedraft builds all content Signed-off-by: Toshaan Bharvani --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d9e71cd..8ed434b 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ build-staging: .PHONY: test test: clean - $(HUGO) --environment=development --minify + $(HUGO) --environment=development --minify --templateMetrics --templateMetricsHints --memstats hug_mem_log .PHONY: draft draft: @@ -40,11 +40,11 @@ debug: .PHONY: serve serve: - $(HUGO) server --environment=development --port 1314 --noHTTPCache --disableFastRender --watch + $(HUGO) server --environment=development --port 1314 --watch --noHTTPCache --disableFastRender .PHONY: servedraft servedraft: - $(HUGO) server --environment=development --buildFuture --buildExpired --noHTTPCache --disableFastRender --watch + $(HUGO) server --environment=development --port 1314 --watch --noHTTPCache --disableFastRender --buildDrafts --buildFuture --buildExpired .PHONY: clean clean: