lib/octopress/commands/serve.rb in octopress-3.0.0.rc.2 vs lib/octopress/commands/serve.rb in octopress-3.0.0.rc.3
- old
+ new
@@ -14,11 +14,11 @@
c.option 'host', '-H', '--host HOST', 'Host to bind to'
c.option 'baseurl', '--baseurl URL', 'Base URL'
c.action do |args, options|
Octopress.config(options)
+ options["serving"] ||= true
- options.default :serving => true
options = CommandHelpers.normalize_options(options)
options = Jekyll.configuration(options.to_symbol_keys)
Jekyll::Commands::Build.process(options)
Jekyll::Commands::Serve.process(options)
end