diff options
Diffstat (limited to 'node_modules/chokidar/index.js')
| -rw-r--r-- | node_modules/chokidar/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/chokidar/index.js b/node_modules/chokidar/index.js index ed4b6d5b..8752893c 100644 --- a/node_modules/chokidar/index.js +++ b/node_modules/chokidar/index.js @@ -441,7 +441,7 @@ add(paths_, _origAdd, _internal) { if (this.options.useFsEvents && this._fsEventsHandler) { if (!this._readyCount) this._readyCount = paths.length; - if (this.options.persistent) this._readyCount *= 2; + if (this.options.persistent) this._readyCount += paths.length; paths.forEach((path) => this._fsEventsHandler._addToFsEvents(path)); } else { if (!this._readyCount) this._readyCount = 0; |
