Merge pull request #600 from bhollis/doubleinit

No longer initialize the app twice when starting preview server
This commit is contained in:
Thomas Reynolds 2012-09-16 00:08:34 -07:00
commit 8bd98c0d2c

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