Explorar o código

Try to reconnect when the user types in the editor.

Shane Kilkelly %!s(int64=11) %!d(string=hai) anos
pai
achega
b393de1450

+ 2 - 0
services/web/public/coffee/ide/connection/ConnectionManager.coffee

@@ -21,6 +21,8 @@ define [], () ->
 
 			@$scope.$on "editor:change", () =>
 				@lastUpdated = new Date()
+				if !@connected
+					@tryReconnect()
 
 			@ide.socket = io.connect null,
 				reconnect: false