Skip to content

Commit 990efda

Browse files
committed
warn user that --watch has been disabled
1 parent 86a2284 commit 990efda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/jekyll/commands/serve.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ def start_up_webrick(opts, destination)
1616
def jekyll_admin_monkey_patch(server)
1717
server.mount "/admin", Rack::Handler::WEBrick, JekyllAdmin::StaticServer
1818
server.mount "/_api", Rack::Handler::WEBrick, JekyllAdmin::Server
19+
Jekyll.logger.warn "Auto-regeneration:", "disabled by JekyllAdmin."
20+
Jekyll.logger.warn "", "The site will regenerate only via the Admin interface."
1921
Jekyll.logger.info "JekyllAdmin mode:", ENV["RACK_ENV"] || "production"
2022
end
2123
end

0 commit comments

Comments
 (0)