src/vs/workbench/services/textfile/common/textFileEditorModelManager.ts/TextFileEditorModelManager/onDidFilesChange
class TextFileEditorModelManager:	private onDidFilesChange(e: FileChangesEvent): void {
		for (const model of this.models) {
			if (model.isDirty() || !model.isResolved()) {
				continue; // require a resolved, saved model to continue
			}

			// Trigger a model resolve for any update or add event that impacts
			// the model. We also consider the added event because it could
			// be that a file was added and updated right after.
			if (e.contains(model.resource, FileChangeType.UPDATED, FileChangeType.ADDED)) {
				this.queueModelResolve(model);
			}
		}
	}