Skip to content

Commit 1c4ca96

Browse files
committed
Also reapply to root view
1 parent 695a64e commit 1c4ca96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

motion/ext.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def enable_rmq_live_stylesheets(interval)
9494
code = File.read(stylesheet[:path])
9595
puts "Reloaded #{klass_name}." if @live_reload_debug
9696
eval(code)
97-
vc_rmq.all.reapply_styles
97+
vc_rmq.all.and_self.reapply_styles
9898
stylesheets[klass_name][:modified] = File.mtime(stylesheet[:path])
9999
end
100100
end

0 commit comments

Comments
 (0)