From 9777a053c1c27b78a3172968c9de1d8655fc32de Mon Sep 17 00:00:00 2001 From: Octavian Genes Date: Sun, 9 Sep 2018 12:17:38 +0200 Subject: [PATCH] Make compile watch clear screen before first run --- frontend/src/main/scala/bloop/engine/Interpreter.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/main/scala/bloop/engine/Interpreter.scala b/frontend/src/main/scala/bloop/engine/Interpreter.scala index 981f2f180d..0b41449d5c 100644 --- a/frontend/src/main/scala/bloop/engine/Interpreter.scala +++ b/frontend/src/main/scala/bloop/engine/Interpreter.scala @@ -109,6 +109,8 @@ object Interpreter { State.stateCache.updateBuild(state) } + if (!BspServer.isWindows) + state.logger.info("\u001b[H\u001b[2J") // Force the first execution before relying on the file watching task fg(state).flatMap(newState => watcher.watch(newState, fg)) }