Try to reconnect when the user types in the editor.

This commit is contained in:
Shane Kilkelly 2015-09-28 15:45:14 +01:00
parent 54de12d908
commit b393de1450

View file

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