Skip to content

Commit 82a4454

Browse files
authored
Merge pull request #1852 from yrodiere/dev-improvements
Minor improvements to running the website locally (for development)
2 parents 289dcda + ae1786c commit 82a4454

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: docker-compose.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
services:
44
jekyll:
55
image: bretfisher/jekyll-serve
6+
# Add --incremental to the commandline
7+
# https://github.com/BretFisher/jekyll-serve/blob/2119a31476e1c6004a4bea4739b9160fc73e7bda/Dockerfile#L27C5-L27C94
8+
command: [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000", "--incremental" ]
69
volumes:
7-
- .:/site
10+
- .:/site:Z
811
ports:
912
- '4000:4000'

0 commit comments

Comments
 (0)