watcherExecutor = Executors.newCachedThreadPool();
Collection<Path> watched = new ArrayList<>();
for (Path sourceRoot : sourceRoots) {
if (sourceRoot.toFile().exists()) {
watched.add(sourceRoot);
MoreFiles.watch(sourceRoot, eventBus, watcherExecutor, new WatcherSettings() {
@Override
public int coalescePeriod() {
return settings.autoCompileCoalescePeriod();
}