From c5abb2e2ebdc73d7814d09aae56490fdb32921b2 Mon Sep 17 00:00:00 2001 From: Victor Hurdugaci Date: Tue, 31 May 2016 09:18:02 -0700 Subject: [PATCH] Revert the fix for notification on folder deletion because it requires a big redesign. The simple fix doesn't work --- src/Microsoft.DotNet.Watcher.Core/Internal/ProjectWatcher.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Microsoft.DotNet.Watcher.Core/Internal/ProjectWatcher.cs b/src/Microsoft.DotNet.Watcher.Core/Internal/ProjectWatcher.cs index b3438186d4..e94afb7dd4 100644 --- a/src/Microsoft.DotNet.Watcher.Core/Internal/ProjectWatcher.cs +++ b/src/Microsoft.DotNet.Watcher.Core/Internal/ProjectWatcher.cs @@ -107,10 +107,6 @@ namespace Microsoft.DotNet.Watcher.Core.Internal foreach (var file in project.Files) { closure.Add(file); - - // We need to add the folder because folder deletions only trigger - // for the folder, not for the files inside it - closure.Add(Path.GetDirectoryName(file)); } foreach (var dependency in project.ProjectDependencies)