|
@@ -24,6 +24,10 @@ define [], () ->
|
|
|
if !@connected
|
|
if !@connected
|
|
|
@tryReconnect()
|
|
@tryReconnect()
|
|
|
|
|
|
|
|
|
|
+ @$scope.$on 'cursor:editor:update', () =>
|
|
|
|
|
+ if !@connected
|
|
|
|
|
+ @tryReconnect()
|
|
|
|
|
+
|
|
|
@ide.socket = io.connect null,
|
|
@ide.socket = io.connect null,
|
|
|
reconnect: false
|
|
reconnect: false
|
|
|
"force new connection": true
|
|
"force new connection": true
|