Skip to content

Commit

Permalink
Make compile watch clear screen before first run
Browse files Browse the repository at this point in the history
  • Loading branch information
goctav committed Sep 9, 2018
1 parent 56cda8f commit 9777a05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/main/scala/bloop/engine/Interpreter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 9777a05

Please sign in to comment.