class Sass::Plugin::StalenessChecker
def stylesheet_needs_update?(css_file, template_file)
-
template_file
(String
) -- The location of the Sass or SCSS template -
css_file
(String
) -- The location of the CSS file to check.
def stylesheet_needs_update?(css_file, template_file) template_file, css_mtime = File.expand_path(template_file), mtime(css_file) css_mtime == DELETED || dependency_updated?(css_mtime).call(template_file) end