File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ non-production-build: module-check ## Build the non-production site, which adds
56
56
GOMAXPROCS=1 hugo --cleanDestinationDir --enableGitInfo --environment nonprod
57
57
58
58
serve : module-check # # Boot the development server.
59
- hugo server --buildFuture --environment development
59
+ hugo server --buildDrafts -- buildFuture --environment development
60
60
61
61
docker-image :
62
62
@echo -e " $( CCRED) **** The use of docker-image is deprecated. Use container-image instead. ****$( CCEND) "
@@ -107,7 +107,7 @@ container-build: module-check
107
107
container-serve : module-check # # Boot the development server using container.
108
108
$(CONTAINER_RUN ) --cap-drop=ALL --cap-add=AUDIT_WRITE --read-only \
109
109
--mount type=tmpfs,destination=/tmp,tmpfs-mode=01777 -p 1313:1313 $(CONTAINER_IMAGE ) \
110
- hugo server --buildFuture --environment development --bind 0.0.0.0 --destination /tmp/public --cleanDestinationDir --noBuildLock
110
+ hugo server --buildDrafts -- buildFuture --environment development --bind 0.0.0.0 --destination /tmp/public --cleanDestinationDir --noBuildLock
111
111
112
112
test-examples :
113
113
scripts/test_examples.sh install
You can’t perform that action at this time.
0 commit comments