support test compile on saving in vscode

This commit is contained in:
tmiyamon 2018-03-16 18:03:52 +09:00
parent 571417dc6f
commit 77ffbe896d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ private[sbt] trait LanguageServerProtocol extends CommandChannel {
log.debug(s"onNotification: $notification")
notification.method match {
case "textDocument/didSave" =>
append(Exec(";compile; collectAnalyses", None, Some(CommandSource(name))))
append(Exec(";Test/compile; collectAnalyses", None, Some(CommandSource(name))))
case u => log.debug(s"Unhandled notification received: $u")
}
}