diff --git a/packages/shell-evaluator/src/shell-evaluator.ts b/packages/shell-evaluator/src/shell-evaluator.ts index 7fb16738be..986b3b80a4 100644 --- a/packages/shell-evaluator/src/shell-evaluator.ts +++ b/packages/shell-evaluator/src/shell-evaluator.ts @@ -65,6 +65,7 @@ class ShellEvaluator { } if (!this.hasAppliedAsyncWriterRuntimeSupport) { + this.hasAppliedAsyncWriterRuntimeSupport = true; const supportCode = (this.internalState.asyncWriter as any).runtimeSupportCode(); // Eval twice: We need the modified prototypes to be present in both // the evaluation context and the current one, because e.g. the value of