Call the :initialized hook after the build configuration hook so extensions don't get activated but not initialized
This commit is contained in:
parent
ac3aee6e4b
commit
fa17134c0a
|
@ -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:"
|
||||
|
|
Loading…
Reference in a new issue