commit
7b8c39722b
|
@ -33,7 +33,9 @@ module Jekyll
|
||||||
build(site, options)
|
build(site, options)
|
||||||
end
|
end
|
||||||
|
|
||||||
if options.fetch('watch', false)
|
if options.fetch('detach', false)
|
||||||
|
Jekyll.logger.info "Auto-regeneration:", "disabled when running server detached."
|
||||||
|
elsif options.fetch('watch', false)
|
||||||
watch(site, options)
|
watch(site, options)
|
||||||
else
|
else
|
||||||
Jekyll.logger.info "Auto-regeneration:", "disabled. Use --watch to enable."
|
Jekyll.logger.info "Auto-regeneration:", "disabled. Use --watch to enable."
|
||||||
|
|
Loading…
Reference in New Issue