mirror of
https://github.com/discourse/discourse.git
synced 2025-03-20 06:45:32 +08:00
FIX: live reload of css
This commit is contained in:
parent
0b52e20bff
commit
a644947119
@ -27,6 +27,7 @@ class Autospec::ReloadCss
|
||||
if paths.any? { |p| p =~ /\.(css|s[ac]ss)/ }
|
||||
s = DiscourseStylesheets.new(:desktop) # TODO: what about mobile?
|
||||
s.compile
|
||||
s.ensure_digestless_file
|
||||
paths << "public" + s.stylesheet_relpath_no_digest
|
||||
end
|
||||
paths.map! do |p|
|
||||
|
Loading…
x
Reference in New Issue
Block a user