Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Match the current behavior of "jekyll serve" and always build the site initially #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

magicguitarist
Copy link
Contributor

Fixes #40:

Change startup behavior (of Rack::Jekyll.new):

Adopt the current behavior of Jekyll (the "jekyll serve" command) and always build the site initially.
Add an option to skip the initial build (e.g. :skip_initial_build - this would match Jekyll's command line flag --skip-initial-build).
The option is necessary for deploys on read-only filesystems, where the pre-built site already exists. (The current :force_build option, which is only available since 0.4.2, will be obsolete.)

Invert force_build into skip_initial_build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change startup behavior to match that of 'jekyll serve'
1 participant