No longer initialize the app twice when starting preview server

This commit is contained in:
Ben Hollis 2012-09-15 22:38:25 -07:00
parent 0327e2067f
commit aa6b0482ae

View file

@ -145,7 +145,6 @@ module Middleman
# @param [Middleman::Application] app
# @return [void]
def mount_instance
@app = new_app
@webrick ||= setup_webrick(
@options[:host] || "0.0.0.0",
@options[:debug] || false