Skip to content

Commit

Permalink
Merge pull request #381 from scalacenter/ticket/379
Browse files Browse the repository at this point in the history
Remove clean terminal before file watching
  • Loading branch information
Duhemm authored Mar 16, 2018
2 parents 4e4352c + 326d0d1 commit 467e47e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/main/scala/bloop/io/SourceWatcher.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ final class SourceWatcher(project: Project, dirs0: Seq[Path], logger: Logger) {
val ngout = state0.commonOptions.ngout
def runAction(state: State, event: DirectoryChangeEvent): Task[State] = {
// Someone that wants this to be supported by Windows will need to make it work for all terminals
if (!BspServer.isWindows)
logger.info("\u001b[H\u001b[2J") // Clean the terminal before acting on the file event action
logger.debug(s"A ${event.eventType()} in ${event.path()} has triggered an event.")
action(state)
}
Expand Down

0 comments on commit 467e47e

Please sign in to comment.