Skip to content

Commit

Permalink
fix: run _addWatchers in rebuildCache
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Mar 18, 2021
1 parent e18ec8e commit dbf5c24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/paths-cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ export default class PathsCache extends EventEmitter {
result = await this._buildInitialCacheWithAtom()
}

this._addWatchers()

this.emit("rebuild-cache-done")
return result
}
Expand Down

0 comments on commit dbf5c24

Please sign in to comment.