Skip to content

A platform for community discussion. Free, open, simple.

DEV: Add a missing path to the stylesheet watcher (#32579)

Jarek Radosz54faff16080b
diff --git a/lib/stylesheet/watcher.rb b/lib/stylesheet/watcher.rb
index 6bb5bad13b6..9dbc7da72c9 100644
--- a/lib/stylesheet/watcher.rb
+++ b/lib/stylesheet/watcher.rb
@@ -97,7 +97,7 @@ module Stylesheet
return
end
- targets = target ? [target] : %w[desktop mobile admin]
+ targets = target ? [target] : %w[admin common desktop mobile]
Stylesheet::Manager.clear_core_cache!(targets)
message =
targets.map! { |name| Stylesheet::Manager.new.stylesheet_data(name.to_sym) }.flatten!