# File lib/staticmatic/server.rb, line 43 def self.start(staticmatic) port = staticmatic.configuration.preview_server_port || 3000 host = staticmatic.configuration.preview_server_host || "" app = Rack::Builder.new do use Rack::ShowExceptions run StaticMatic::Server.new(staticmatic) end Rack::Handler::Mongrel.run(app, :Port => port, :Host => host) end