-
Notifications
You must be signed in to change notification settings - Fork 13k
Description
TypeScript Version: 2.5.3, but reproducible in 2.8.0-dev.20180130
Search Terms:
ssh
Steps to reproduce
- Tunnel
tsserver
messages overssh
.
I've tried both using a localtsserver.js
that does this withchild_process
and modifying the Sublime plugin to proxy its calls over SSH. - Open a file on the remote machine in Sublime.
We mount the remote filesystem, so the local path and remote path are the same. - Start typing.
Expected results
Sublime works just as well as VSCode.
Actual results
Sublime works very intermittently. Usually, completion fails with Error processing request. Debug Failure. False expression.
In VSCode, using the proxy tsserver.js
that tunnels its stdout
and stdin
over ssh
to a remote tsserver
works much more reliably than in Sublime.
Additional notes
I've logged the request/responses in both a success case and a failure case from Sublime. You can find them here. It appears that in the failure case, a bunch of requests are sent before any responses are received. Perhaps there is a race condition where the local and remote states are out of sync.
@DanielRosenwasser suggested I file this here.