diff --git a/src/extension.ts b/src/extension.ts index 9b7052792..010c440b6 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -385,6 +385,14 @@ async function refreshTree(taskType?: string, uri?: Uri) let refreshedTasks = false; // window.setStatusBarMessage("$(loading) Task Explorer - Refreshing tasks..."); + // + // If this request is from a filesystem event for a file that exists in an ignored path, + // then get out of here + // + if (uri && util.isExcluded(uri.path)) { + return; + } + // // If the task type received from a filewatcher event is "ant-*" then it is a custom // defined ant file in the includeAnt setting, named accordingly so that the watchers