This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate all the stylesheets manually (from their Sass templates) before each restart. | |
before 'deploy:restart', 'sass:update' | |
namespace :sass do | |
desc 'Updates stylesheets if necessary from their Sass templates.' | |
task :update => :environment do | |
Sass::Plugin.options[:never_update] = false | |
Sass::Plugin.update_stylesheets | |
end | |
end |