synchronousWatchDirectory