Add make stop
and allow --incremental
[ci skip]
This commit is contained in:
@ -6,12 +6,15 @@ set -eu -o pipefail
|
||||
run_jekyll() {
|
||||
set -eu
|
||||
|
||||
bundle exec jekyll serve \
|
||||
--config "$JEKYLL_CONFIG" \
|
||||
--host "$JEKYLL_HOST" \
|
||||
--port "$JEKYLL_PORT" \
|
||||
--trace \
|
||||
--verbose
|
||||
# shellcheck disable=SC2155
|
||||
local args="--config $JEKYLL_CONFIG --host $JEKYLL_HOST --port $JEKYLL_PORT --trace --verbose"
|
||||
|
||||
if [[ $JEKYLL_ENV == "development" ]]; then
|
||||
# shellcheck disable=SC2155
|
||||
local args="${args} --incremental"
|
||||
fi
|
||||
|
||||
bundle exec jekyll serve $args
|
||||
}
|
||||
|
||||
# Main entrypoint
|
||||
|
Reference in New Issue
Block a user