FIX: live reload of css

This commit is contained in:
Neil Lalonde 2014-06-03 10:16:59 -04:00
parent 0b52e20bff
commit a644947119
1 changed files with 1 additions and 0 deletions

View File

@ -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|