Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
Add Comment
Please, Sign In to add comment