From c48ab0e2c6d6cd86c8decafd96f27659f02c873d Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 1 Dec 2020 08:36:11 -0500 Subject: [PATCH] add explainatory comment Signed-off-by: Sebastian Malton --- src/extensions/extension-discovery.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/extension-discovery.ts b/src/extensions/extension-discovery.ts index 41b174d407..699e37042f 100644 --- a/src/extensions/extension-discovery.ts +++ b/src/extensions/extension-discovery.ts @@ -113,7 +113,7 @@ export class ExtensionDiscovery { // chokidar works better than fs.watch chokidar.watch(this.localFolderPath, { - // Dont watch recursively into subdirectories + // For adding and removing symlinks to work, the depth has to be 1. depth: 1, // Try to wait until the file has been completely copied. // The OS might emit an event for added file even it's not completely written to the filesysten.