A platform for community discussion. Free, open, simple.
DEV: Fix stylesheet watcher (#16635)
Penar Musaraj64f03a7d0524
diff --git a/lib/stylesheet/watcher.rb b/lib/stylesheet/watcher.rbindex 3e474f13a33..cd7d11caf0d 100644--- a/lib/stylesheet/watcher.rb+++ b/lib/stylesheet/watcher.rb@@ -93,7 +93,7 @@ module Stylesheetenddef core_assets_refresh(target)- if target.match(/wcag|color_definitions/)+ if target&.match(/wcag|color_definitions/)Stylesheet::Manager.clear_color_scheme_cache!returnend