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)
|
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
|
||||||
|
|
Loading…
Reference in New Issue