fix sprockets circular error
This commit is contained in:
parent
38c46cc89a
commit
f48c648d64
|
@ -46,6 +46,11 @@ module Middleman::CoreExtensions::Sprockets
|
|||
# rescue LoadError
|
||||
# end
|
||||
end
|
||||
|
||||
def javascript_exception_response(exception)
|
||||
expire_index!
|
||||
super(exception)
|
||||
end
|
||||
end
|
||||
|
||||
# class StylesheetEnvironment < MiddlemanEnvironment
|
||||
|
@ -59,5 +64,10 @@ module Middleman::CoreExtensions::Sprockets
|
|||
# stylesheets_path = File.join(File.expand_path(app.views), app.css_dir)
|
||||
# append_path stylesheets_path
|
||||
# end
|
||||
#
|
||||
# def css_exception_response(exception)
|
||||
# expire_index!
|
||||
# super(exception)
|
||||
# end
|
||||
# end
|
||||
end
|
Loading…
Reference in a new issue