// setup builder
// Note: BuildLauncher only accepts the Task from .model package.
String[] tasks = generateTaskArguments(project, this.tasks);
this.builder = connection.newBuild().forTasks(tasks);
watcher.subscribe(new DirectoryChangedSubscriber() {
@Override
public void directoryChanged(DirectoryWatcher watcher, Path entry) {
synchronized (mutex) {
WatcherTask.this.lastChange = System.currentTimeMillis();
mutex.notifyAll();