diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,6 +20,9 @@ ifeq ($$(origin $(1)),command line) endif endef +LIVE_RELOAD ?= 1 +$(eval $(call noexpand,LIVE_RELOAD)) + .PHONY: all all: serve @@ -39,7 +42,11 @@ build: .PHONY: serve serve: +ifeq ($(LIVE_RELOAD),1) + $(jekyll) serve --livereload +else $(jekyll) serve +endif URL := http://localhost:4000/sorting-algorithms/ |