From d25ea5a1a97b2d4d89b6acacfe6668a9d4f84e4a Mon Sep 17 00:00:00 2001 From: Sebastian Balcerowiak Date: Tue, 14 Jan 2025 01:40:28 +0100 Subject: [PATCH] Add watch timer --- packages/tree-view/lib/directory.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/tree-view/lib/directory.js b/packages/tree-view/lib/directory.js index bb27f87bd8..fa0959ecb4 100644 --- a/packages/tree-view/lib/directory.js +++ b/packages/tree-view/lib/directory.js @@ -20,6 +20,7 @@ class Directory { this.emitter = new Emitter() this.subscriptions = new CompositeDisposable() this.compareFn = Intl.Collator(undefined, {numeric: true, sensitivity: 'base'}).compare + this.this.watchTimer = 20 if (atom.config.get('tree-view.squashDirectoryNames') && !this.isRoot) { fullPath = this.squashDirectoryNames(fullPath)