diff --git a/GVFS/GVFS.Platform.Mac/MacFileSystemVirtualizer.cs b/GVFS/GVFS.Platform.Mac/MacFileSystemVirtualizer.cs index 6bef7bb3ec..8c1dec11a8 100644 --- a/GVFS/GVFS.Platform.Mac/MacFileSystemVirtualizer.cs +++ b/GVFS/GVFS.Platform.Mac/MacFileSystemVirtualizer.cs @@ -542,7 +542,10 @@ private void OnNewFileCreated(string relativePath, bool isDirectory) } else { - this.FileSystemCallbacks.OnFolderCreated(relativePath); + if (this.FileSystemCallbacks.OnFolderCreated(relativePath)) + { + this.OnEnumerateDirectory(0, relativePath, -1, $"{nameof(this.OnNewFileCreated)}_FolderIncluded"); + } } } else @@ -623,10 +626,18 @@ private Result CreatePlaceholders(string directoryRelativePath, IEnumerable