Skip to content

Commit

Permalink
Merge pull request #1852 from yrodiere/dev-improvements
Browse files Browse the repository at this point in the history
Minor improvements to running the website locally (for development)
  • Loading branch information
gsmet authored Dec 4, 2023
2 parents 289dcda + ae1786c commit 82a4454
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
services:
jekyll:
image: bretfisher/jekyll-serve
# Add --incremental to the commandline
# https://github.com/BretFisher/jekyll-serve/blob/2119a31476e1c6004a4bea4739b9160fc73e7bda/Dockerfile#L27C5-L27C94
command: [ "bundle", "exec", "jekyll", "serve", "--force_polling", "-H", "0.0.0.0", "-P", "4000", "--incremental" ]
volumes:
- .:/site
- .:/site:Z
ports:
- '4000:4000'

0 comments on commit 82a4454

Please sign in to comment.