Browse Source

Adds refs changes into repo watcher

Catches branch & remote changes
main
Eric Amodio 7 years ago
parent
commit
e400f27c84
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/gitService.ts

+ 1
- 1
src/gitService.ts View File

@ -145,7 +145,7 @@ export class GitService extends Disposable {
if (cfg.advanced.caching.enabled) {
this._cacheDisposable && this._cacheDisposable.dispose();
this._repoWatcher = this._repoWatcher || workspace.createFileSystemWatcher('**/.git/{index,HEAD,refs/stash}', true, false, true);
this._repoWatcher = this._repoWatcher || workspace.createFileSystemWatcher('**/.git/{index,HEAD,refs/stash,refs/heads/**,refs/remotes/**}');
const disposables: Disposable[] = [];

Loading…
Cancel
Save