Skip to content

Commit

Permalink
Merge pull request #639 from goctav/enhance-watch-startup-clear
Browse files Browse the repository at this point in the history
Make compile watch clear screen before first run
  • Loading branch information
jvican authored Sep 12, 2018
2 parents 73ffb18 + 9777a05 commit 4141f59
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 4141f59

Please sign in to comment.