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