Skip to content

Commit

Permalink
enabling incremental Jekyll builds
Browse files Browse the repository at this point in the history
  • Loading branch information
leecalcote committed Mar 6, 2019
1 parent 358bd5b commit ec171ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
jekyll=bundle exec jekyll

site:
$(jekyll) serve --drafts
$(jekyll) serve --drafts --incremental

# With Jekyll Manager interface
site-admin:
ADMIN=on $(jekyll) serve --drafts
ADMIN=on $(jekyll) serve --drafts --incremental

build:
$(jekyll) build --drafts
$(jekyll) build --drafts --incremental

setup:
ADMIN=on bundle install

docker:
docker run --name layer5 --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:3.7.3 bash -c "bundle install; jekyll serve --drafts"
docker run --name layer5 --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:3.7.3 bash -c "bundle install; jekyll serve --drafts --incremental"

0 comments on commit ec171ce

Please sign in to comment.