lib/gumdrop/cli/internal.rb in gumdrop-1.1.1 vs lib/gumdrop/cli/internal.rb in gumdrop-1.1.2

- old
+ new

@@ -30,9 +30,10 @@ end desc 'server', 'Run development server' method_option :browser, aliases:'-b', default:false, desc:"Launch a browser to the site address." method_option :port, aliases:'-p', default:4567, desc:"Port to run the server on." + method_option :env, default:'production', aliases:'-e' def server Gumdrop.configure do |c| c.server_port= options[:port] end Gumdrop.site.options = options.merge(mode:'server')