class Sass::Plugin::StalenessChecker

def dependency_updated?(css_mtime)

def dependency_updated?(css_mtime)
  lambda do |dep|
    begin
      mtime(dep) > css_mtime || dependencies_stale?(dep, css_mtime)
    rescue Sass::SyntaxError
      # If there's an error finding depenencies, default to recompiling.
      true
    end
  end
end