class Sprockets::Environment
def find_asset(path, options = {})
def find_asset(path, options = {}) # Ensure inmemory cached assets are still fresh on every lookup if (asset = @assets[path.to_s]) && asset.fresh? asset elsif asset = super @assets[path.to_s] = @assets[asset.pathname.to_s] = asset asset end end