Closed alexarchambault closed 7 years ago
This is excellent work, thanks! I'm trying it out now.
It works well, thank you! What I'm not sure about is this log output that I see when debugging (F5
in the scala
subdirectory):
Error: certificate has expired
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1060:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:584:8)
at TLSWrap.TLSSocket._init.ssl.onhandshakedone (_tls_wrap.js:416:38)
There are a few of those stack traces, but I don't see how it can have anything to do with coursier. So I'm going to merge this.
Thanks a lot!
This PR replaces the assembly-based launch of the server with one using coursier. That has two advantages IMO:
sbt publishLocal
rather than an assembly generation, andThis works by shipping the coursier launcher in the
vsix
file (it's downloaded during thevsce package
), which is then used by the typescript code to launch the server.The server version is currently hardcoded in the typescript code (set to
0.1.1-SNAPSHOT
in this PR), and would need to be edited prior to releases / version bumps.