prevent init from gettin run twice on build. closes #84

This commit is contained in:
Thomas Reynolds 2011-07-26 16:54:11 -07:00
parent f1fd8870a6
commit 53cd0909c2

View file

@ -33,8 +33,6 @@ module Middleman
def initialize(*args) def initialize(*args)
super super
SHARED_SERVER.new
if options.has_key?("relative") && options["relative"] if options.has_key?("relative") && options["relative"]
SHARED_SERVER.activate :relative_assets SHARED_SERVER.activate :relative_assets
end end