Skip to content

Instantly share code, notes, and snippets.

@Baael
Forked from chriseppstein/sass.rake
Created February 1, 2010 14:01
Show Gist options
  • Save Baael/291703 to your computer and use it in GitHub Desktop.
Save Baael/291703 to your computer and use it in GitHub Desktop.
namespace :sass do
desc 'Updates stylesheets if necessary from their Sass templates.'
task :update => :environment do
sh "rm -rf public/stylesheets/compiled tmp/sass-cache"
Sass::Plugin.options[:never_update] = false
Sass::Plugin.update_stylesheets
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment