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)/ }
|
if paths.any? { |p| p =~ /\.(css|s[ac]ss)/ }
|
||||||
s = DiscourseStylesheets.new(:desktop) # TODO: what about mobile?
|
s = DiscourseStylesheets.new(:desktop) # TODO: what about mobile?
|
||||||
s.compile
|
s.compile
|
||||||
|
s.ensure_digestless_file
|
||||||
paths << "public" + s.stylesheet_relpath_no_digest
|
paths << "public" + s.stylesheet_relpath_no_digest
|
||||||
end
|
end
|
||||||
paths.map! do |p|
|
paths.map! do |p|
|
||||||
|
|
Loading…
Reference in New Issue