mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
also watch CSS in unicorn on dev
This commit is contained in:
@@ -68,9 +68,12 @@ module Stylesheet
|
||||
Stylesheet::Manager.cache.clear
|
||||
|
||||
message = ["desktop", "mobile", "admin"].map do |name|
|
||||
{ target: name, new_href: Stylesheet::Manager.stylesheet_href(name.to_sym) , theme_key: SiteSetting.default_theme_key }
|
||||
{
|
||||
target: name,
|
||||
new_href: Stylesheet::Manager.stylesheet_href(name.to_sym),
|
||||
theme_key: SiteSetting.default_theme_key
|
||||
}
|
||||
end
|
||||
|
||||
MessageBus.publish '/file-change', message
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user