mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
add a force to ensure we properly cache stylesheets
This commit is contained in:
parent
a0090a4585
commit
89ac825641
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user