Skip to content

Commit 039bf3c

Browse files
committed
Merge pull request #239 from jamonholmgren/live-and-self
Also reapply to root view
2 parents 1bb8a74 + 1c4ca96 commit 039bf3c

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
@@ -96,7 +96,7 @@ def enable_rmq_live_stylesheets(interval)
9696
code = File.read(stylesheet[:path])
9797
puts "Reloaded #{klass_name}." if @live_reload_debug
9898
eval(code)
99-
vc_rmq.all.reapply_styles
99+
vc_rmq.all.and_self.reapply_styles
100100
stylesheets[klass_name][:modified] = File.mtime(stylesheet[:path])
101101
end
102102
end

0 commit comments

Comments
 (0)