# File lib/guard/livereload/reactor.rb, line 20 def reload_browser(paths = []) UI.info "Reloading browser: #{paths.join(' ')}" paths.each do |path| data = MultiJson.encode(['refresh', { :path => "#{Dir.pwd}/#{path}", :apply_js_live => @options[:apply_js_live], :apply_css_live => @options[:apply_css_live] }]) UI.debug data @web_sockets.each { |ws| ws.send(data) } end end