Merge pull request #4022 from tmiyamon/support-vscode-test-compile

support test compile on saving in vscode
This commit is contained in:
Dale Wijnand
2018-03-16 10:12:32 +00:00
committed by GitHub
@@ -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")
}
}