Merge pull request #600 from bhollis/doubleinit
No longer initialize the app twice when starting preview server
This commit is contained in:
commit
8bd98c0d2c
1 changed files with 0 additions and 1 deletions
|
@ -145,7 +145,6 @@ module Middleman
|
||||||
# @param [Middleman::Application] app
|
# @param [Middleman::Application] app
|
||||||
# @return [void]
|
# @return [void]
|
||||||
def mount_instance
|
def mount_instance
|
||||||
@app = new_app
|
|
||||||
@webrick ||= setup_webrick(
|
@webrick ||= setup_webrick(
|
||||||
@options[:host] || "0.0.0.0",
|
@options[:host] || "0.0.0.0",
|
||||||
@options[:debug] || false
|
@options[:debug] || false
|
||||||
|
|
Loading…
Reference in a new issue