We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b2992 commit f9a9155Copy full SHA for f9a9155
makefile
@@ -0,0 +1,23 @@
1
+# Makefile for Jekyll commands
2
+
3
+# Variables
4
+JEKYLL_CMD = jekyll serve
5
+LIVERELOAD_FLAG = --livereload
6
+FORCE_POLLING_FLAG = --force_polling
7
8
+# Default target
9
+all: serve
10
11
+# Serve the site
12
+serve:
13
+ $(JEKYLL_CMD)
14
15
+# Serve the site with live reload
16
+serve-livereload:
17
+ $(JEKYLL_CMD) $(LIVERELOAD_FLAG)
18
19
+# Serve the site with live reload and force polling (for Windows)
20
+serve-windows:
21
+ $(JEKYLL_CMD) $(LIVERELOAD_FLAG) $(FORCE_POLLING_FLAG)
22
23
+.PHONY: all serve serve-livereload serve-windows
0 commit comments