lib/octopress/commands/serve.rb in octopress-3.0.0.alpha7 vs lib/octopress/commands/serve.rb in octopress-3.0.0.alpha8
- old
+ new
@@ -16,9 +16,11 @@
c.option 'port', '-P', '--port PORT', 'Port to listen on'
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.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)