add a force to ensure we properly cache stylesheets

This commit is contained in:
Sam 2015-05-21 18:06:33 +10:00
parent a0090a4585
commit 89ac825641
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ task 'assets:precompile:css' => 'environment' do
if ActiveRecord::Base.connection.table_exists?(ColorScheme.table_name) if ActiveRecord::Base.connection.table_exists?(ColorScheme.table_name)
puts "Compiling css for #{db}" puts "Compiling css for #{db}"
[:desktop, :mobile, :desktop_rtl, :mobile_rtl].each do |target| [:desktop, :mobile, :desktop_rtl, :mobile_rtl].each do |target|
puts DiscourseStylesheets.compile(target) puts DiscourseStylesheets.compile(target, force: true)
end end
end end
end end