Try to reconnect when the editor cursor is moved.

This commit is contained in:
Shane Kilkelly 2015-09-28 16:18:09 +01:00
parent b393de1450
commit 8bd83f64e0

View file

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