Merge pull request #2393 from createdbypete/quieter-build-command

This commit is contained in:
Parker Moore 2014-05-11 16:42:06 -04:00
commit 9bd6c98320
1 changed files with 2 additions and 2 deletions

View File

@ -22,11 +22,11 @@ module Jekyll
# Build your jekyll site # Build your jekyll site
# Continuously watch if `watch` is set to true in the config. # Continuously watch if `watch` is set to true in the config.
def process(options) def process(options)
Jekyll.logger.log_level = :error if options['quiet']
options = configuration_from_options(options) options = configuration_from_options(options)
site = Jekyll::Site.new(options) site = Jekyll::Site.new(options)
Jekyll.logger.log_level = :error if options['quiet']
build(site, options) build(site, options)
watch(site, options) if options['watch'] watch(site, options) if options['watch']
end end