mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 05:07:42 -05:00
add a force to ensure we properly cache stylesheets
This commit is contained in:
@@ -79,7 +79,7 @@ task 'assets:precompile:css' => 'environment' do
|
||||
if ActiveRecord::Base.connection.table_exists?(ColorScheme.table_name)
|
||||
puts "Compiling css for #{db}"
|
||||
[:desktop, :mobile, :desktop_rtl, :mobile_rtl].each do |target|
|
||||
puts DiscourseStylesheets.compile(target)
|
||||
puts DiscourseStylesheets.compile(target, force: true)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user