Notify the user when auto-regeneration is disabled.
This commit is contained in:
parent
6ca8baa572
commit
9fd872e7b8
|
@ -32,7 +32,12 @@ module Jekyll
|
||||||
else
|
else
|
||||||
build(site, options)
|
build(site, options)
|
||||||
end
|
end
|
||||||
watch(site, options) if options['watch']
|
|
||||||
|
if options.fetch('watch', false)
|
||||||
|
watch(site, options)
|
||||||
|
else
|
||||||
|
Jekyll.logger.info "Auto-regeneration:", "disabled. Use --watch to enable."
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Build your Jekyll site.
|
# Build your Jekyll site.
|
||||||
|
|
Loading…
Reference in New Issue