Created
October 28, 2008 19:13
-
-
Save Lytol/20490 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/plugins/masochism/lib/active_reload/connection_proxy.rb b/vendor/plugins/masochism/lib/active_reload/connection_proxy.rb | |
index 938051c..ed3246f 100644 | |
--- a/vendor/plugins/masochism/lib/active_reload/connection_proxy.rb | |
+++ b/vendor/plugins/masochism/lib/active_reload/connection_proxy.rb | |
@@ -9,7 +9,11 @@ module ActiveReload | |
class ConnectionProxy | |
def initialize(master, slave) | |
@slave = slave.connection | |
+ @slave.instance_eval { @connection.reconnect = true } | |
+ | |
@master = master.connection | |
+ @master.instance_eval { @connection.reconnect = true } | |
+ | |
@current = @slave | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment