void () { if (myWatcher.isOperational()) { var dirtyPaths = myWatcher.getDirtyPaths(); var marked = markPathsDirty(dirtyPaths.dirtyPaths) | markFlatDirsDirty(dirtyPaths.dirtyDirectories) | markRecursiveDirsDirty(dirtyPaths.dirtyPathsRecursive); if (marked) { statusRefreshed(); } } }