mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
notebook - set forceReload when having cell options
This commit is contained in:
parent
2a9f87c3ce
commit
3281da1ce5
|
@ -301,7 +301,7 @@ export class NotebookContribution extends Disposable implements IWorkbenchContri
|
|||
}
|
||||
|
||||
const notebookInput = NotebookEditorInput.create(this.instantiationService, notebookUri, originalInput.getName(), info.id);
|
||||
const notebookOptions = new NotebookEditorOptions({ ...options, cellOptions, override: false, index });
|
||||
const notebookOptions = new NotebookEditorOptions({ ...options, cellOptions, override: false, index, forceReload: Boolean(cellOptions) });
|
||||
return { override: this.editorService.openEditor(notebookInput, notebookOptions, group) };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue