| 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 c524e36f42b5db1a3a1fae5eadcd3310d7f2d09a..678f45f20b59b025ba4975f50297bfecbd063638 100644
|
| --- a/runtime/bin/file_system_watcher_macos.cc
|
| +++ b/runtime/bin/file_system_watcher_macos.cc
|
| @@ -181,7 +181,7 @@ class FSEventsWatcher {
|
| for (size_t i = 0; i < num_events; i++) {
|
| char *path = reinterpret_cast<char**>(event_paths)[i];
|
| FSEvent event;
|
| - event.data.exists = File::Exists(path);
|
| + event.data.exists = File::GetType(path, false) != File::kDoesNotExist;
|
| path += node->base_path_length();
|
| // If path is longer the base, skip next character ('/').
|
| if (path[0] != '\0') path += 1;
|
|
|