mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
add explainatory comment
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
c075e22d08
commit
c48ab0e2c6
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user