Do not use caching repository by default

The caching repository does not work universally so set the default to
always poll. This is still faster than in sbt 1.2.x because of
performance improvements that I added for listing directories.
This commit is contained in:
Ethan Atkins 2019-03-21 15:49:28 -07:00
parent 467ece1ba1
commit c3e0e117e6
1 changed files with 1 additions and 4 deletions

View File

@ -282,10 +282,7 @@ object Defaults extends BuildCommon {
None
},
watchStartMessage := Watched.defaultStartWatch,
fileTreeRepository := state.value
.get(Keys.globalFileTreeRepository)
.map(FileTree.repository)
.getOrElse(FileTree.Repository.polling),
fileTreeRepository := FileTree.Repository.polling,
externalHooks := {
val repository = fileTreeRepository.value
compileOptions =>