No longer initialize the app twice when starting preview server
This commit is contained in:
parent
0327e2067f
commit
aa6b0482ae
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