| Index: runtime/bin/file_system_watcher_macos.cc
|
| diff --git a/runtime/bin/file_system_watcher_macos.cc b/runtime/bin/file_system_watcher_macos.cc
|
| index 6f13ac39f13879b7f61f93692ce7f156010182a5..65ad6e9957dead2456acd0c0b9729794ce3e87cb 100644
|
| --- a/runtime/bin/file_system_watcher_macos.cc
|
| +++ b/runtime/bin/file_system_watcher_macos.cc
|
| @@ -271,6 +271,7 @@ Dart_Handle FileSystemWatcher::ReadEvents(intptr_t id) {
|
| if (flags & kFSEventStreamEventFlagItemRenamed) mask |= kMove;
|
| if (flags & kFSEventStreamEventFlagItemXattrMod) mask |= kModefyAttribute;
|
| if (flags & kFSEventStreamEventFlagItemCreated) mask |= kCreate;
|
| + if (flags & kFSEventStreamEventFlagItemIsDir) mask |= kIsDir;
|
| if (flags & kFSEventStreamEventFlagItemRemoved) {
|
| if (path_len == 0) {
|
| // The removed path is the path being watched.
|
|
|