Adds vscode issue TODO

This commit is contained in:
Eric Amodio
2017-06-06 02:29:22 -04:00
parent 28355d41b6
commit 6c33686335
3 changed files with 3 additions and 0 deletions

View File

@@ -214,6 +214,7 @@ export class GitService extends Disposable {
if (!this.UseCaching) return;
if (e.document.uri.scheme !== DocumentSchemes.File) return;
// TODO: Rework this once https://github.com/Microsoft/vscode/issues/27231 is released in v1.13
// We have to defer because isDirty is not reliable inside this event
setTimeout(() => {
// If the document is dirty all is fine, we'll just wait for the save before clearing our cache