def depend_on(context, data)
      dependencies = data.scan(IMPORT_SCANNER).flatten.compact.uniq

      dependencies.each do |path|
        asset = resolve(context, path)

        if asset
          context.depend_on(asset)
          depend_on(context, File.read(asset))
        end
      end
    end
def depend_on(context, data)
      dependencies = data.scan(IMPORT_SCANNER).flatten.compact.uniq

      dependencies.each do |path|
        asset = resolve(context, path)

        if asset
          context.depend_on(asset)
          depend_on(context, File.read(asset))
        end
      end
    end
Internal: Scan the stylesheet body, looking for '@import' calls to
 declare them as a dependency on the context using 'depend_on' method.
 This method will recursively scans all dependency to ensure that
 the current stylesheet tracks down nested dependencies.