diff options
author | Alexandra Dima <alexandra.dima@jetbrains.com> | 2019-07-25 17:32:21 +0200 |
---|---|---|
committer | Samvel Abrahamyan <samvel1024@gmail.com> | 2019-10-12 14:33:11 +0200 |
commit | c02b1bf61ea714b76b8c53759301bfb5be535fc9 (patch) | |
tree | a2caad1b2b4c609cab683a8696c490a632b43720 /contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala | |
parent | 8138acf4911b668b3b15c19fd51c4f5e6aadc083 (diff) | |
download | mill-c02b1bf61ea714b76b8c53759301bfb5be535fc9.tar.gz mill-c02b1bf61ea714b76b8c53759301bfb5be535fc9.tar.bz2 mill-c02b1bf61ea714b76b8c53759301bfb5be535fc9.zip |
Changed the clean cache method back to a subprocess because this way it can wait for the output directories to actually be removed. Use IO instead of NIO for converting os.Path to URIs. Don't display the stack trace in the start method in case of CancelationException, which just means the server stopped. Also added support for tracing bsp messages inside a bsp.log file in the working directory of the project being built.
Diffstat (limited to 'contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala')
-rw-r--r-- | contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala b/contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala index a90b02a5..ba42a67a 100644 --- a/contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala +++ b/contrib/bsp/src/mill/contrib/bsp/BspLoggedReporter.scala @@ -89,7 +89,7 @@ class BspLoggedReporter(client: bsp.BuildClient, val textDocument = new TextDocumentIdentifier( sourceFile.getOrElse(None) match { case None => targetId.getUri - case f: File => f.toPath.toUri.toString + case f: File => f.toURI.toString }) val params = new bsp.PublishDiagnosticsParams(textDocument, targetId, |