Method: Sass::Plugin#force_update_stylesheets

Defined in:
lib/sass/plugin.rb

#force_update_stylesheets(individual_files = [])

Updates all stylesheets, even those that aren't out-of-date. Ignores the cache.

Parameters:

  • individual_files (Array<(String, String)>) (defaults to: [])

    A list of files to check for updates in addition to those specified by the :template_location option. The first string in each pair is the location of the Sass/SCSS file, the second is the location of the CSS file that it should be compiled to.

See Also:



95
96
97
98
99
100
101
# File 'lib/sass/plugin.rb', line 95

def force_update_stylesheets(individual_files = [])
  Compiler.new(
    options.dup.merge(
      :never_update => false,
      :always_update => true,
      :cache => false)).update_stylesheets(individual_files)
end