You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be worthy of a separate issue, but it may also be helpful to allow a closure to be executed when the server restarts. you may want to send the server a didOpen notification or do some other work.
Can you elaborate on what you want to send the server? Its state should be transparently restored when it is started back up. For example, any open documents are automatically re-opened.
It seems like open docs are re-opened only when the server state is set to restartNeeded but I don't see anywhere that it would reach this state. When calling connectionInvalidated() the server state gets set to notStarted after 5 seconds which doesn't reopen docs upon reconnecting.
Would be nice to support behavior for how the
RestartingServer
restarts.Currently, there's a 5 second cooldown hardcoded in:
LanguageClient/Sources/LanguageClient/RestartingServer.swift
Line 232 in 253b8a0
Possible idea:
The text was updated successfully, but these errors were encountered: