Merge pull request #239 from jamonholmgren/live-and-self

Also reapply to root view
This commit is contained in:
Todd Werth
2015-04-14 19:57:42 -07:00

View File

@@ -96,7 +96,7 @@ if RUBYMOTION_ENV == "development"
code = File.read(stylesheet[:path])
puts "Reloaded #{klass_name}." if @live_reload_debug
eval(code)
vc_rmq.all.reapply_styles
vc_rmq.all.and_self.reapply_styles
stylesheets[klass_name][:modified] = File.mtime(stylesheet[:path])
end
end