move sprockets init

This commit is contained in:
Thomas Reynolds 2014-03-25 17:00:17 -07:00
parent 8bc2fddb9d
commit 91675c4588

View file

@ -128,7 +128,6 @@ module Middleman
$LOAD_PATH.unshift(root) $LOAD_PATH.unshift(root)
::Middleman::Extension.clear_after_extension_callbacks ::Middleman::Extension.clear_after_extension_callbacks
run_hook :initialized
if config[:autoload_sprockets] if config[:autoload_sprockets]
begin begin
@ -138,6 +137,8 @@ module Middleman
end end
end end
run_hook :initialized
run_hook :before_configuration run_hook :before_configuration
# Check for and evaluate local configuration # Check for and evaluate local configuration