Skip to content

Commit e400f27

Browse files
committed
Adds refs changes into repo watcher
Catches branch & remote changes
1 parent 4221e06 commit e400f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export class GitService extends Disposable {
145145
if (cfg.advanced.caching.enabled) {
146146
this._cacheDisposable && this._cacheDisposable.dispose();
147147

148-
this._repoWatcher = this._repoWatcher || workspace.createFileSystemWatcher('**/.git/{index,HEAD,refs/stash}', true, false, true);
148+
this._repoWatcher = this._repoWatcher || workspace.createFileSystemWatcher('**/.git/{index,HEAD,refs/stash,refs/heads/**,refs/remotes/**}');
149149

150150
const disposables: Disposable[] = [];
151151

0 commit comments

Comments
 (0)