mirror of
https://github.com/discourse/discourse.git
synced 2026-08-13 06:25:11 -05:00
DEV: Revert stylesheet refactors (#13584)
* Revert "FIX: Clear appropriate cache when updating font settings (#13582)" This reverts commitde6cc7a924. * Revert "DEV: Improve output of `Stylesheet::Mananger.precompile_theme_css`." This reverts commit95038856c9. * Revert "FIX: Child themes being precompiled multiple times." This reverts commit6986b36985. * Revert "Update spec/components/stylesheet/manager_spec.rb" This reverts commitddaa7cc7ea. * Revert "Refactor scss live refreshing" This reverts commita838293aaf. * Revert "Precompile core stylesheets independently of themes" This reverts commit99d259d39b. * Revert "DEV: Add simple digest for core stylesheets" This reverts commitd82c58e6cc.
This commit is contained in:
@@ -27,7 +27,7 @@ DiscourseEvent.on(:site_setting_changed) do |name, old_value, new_value|
|
||||
end
|
||||
end
|
||||
|
||||
Stylesheet::Manager.clear_color_scheme_cache! if [:base_font, :heading_font].include?(name)
|
||||
Stylesheet::Manager.clear_core_cache!(["desktop", "mobile"]) if [:base_font, :heading_font].include?(name)
|
||||
|
||||
Report.clear_cache(:storage_stats) if [:backup_location, :s3_backup_bucket].include?(name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user