Call the :initialized hook after the build configuration hook so extensions don't get activated but not initialized

This commit is contained in:
Ben Hollis 2013-05-01 01:12:43 -07:00
parent ac3aee6e4b
commit fa17134c0a

View file

@ -153,11 +153,11 @@ module Middleman
instance_eval File.read(local_config), local_config, 1
end
run_hook :initialized
run_hook :build_config if build?
run_hook :development_config if development?
run_hook :initialized
run_hook :after_configuration
logger.debug "Loaded extensions:"