lib/transporter/transporter.rb in rsence-2.1.3 vs lib/transporter/transporter.rb in rsence-2.1.4

- old
+ new

@@ -227,9 +227,13 @@ xhr_error_handler( msg, :plugin_delegate_cloned_source_error, e.message ) xhr_traceback_handler( e, "Transporter::PluginDelegateClonedSourceError: @plugins.delegate 'cloned_source' failed." ) end elsif msg.refresh_page?( @plugins.incr ) and @config[:client_autoreload] + while msg.refresh_page?( @plugins.incr ) + msg.session[:plugin_incr] == @plugins.incr + sleep 0.5 + end # Forces the client to reload, if plugins are incremented msg.reply("window.location.reload( true );") end ## Calls validators for changed values