diff --git a/lib/esm/repl.js b/lib/esm/repl.js index 681a853d5167355799f28418297e570e7d95e5c1..44d68ef5f726639a360f606fb9c271966dcf341b 100644 --- a/lib/esm/repl.js +++ b/lib/esm/repl.js @@ -15,7 +15,7 @@ export class Repl { this.autocompleter = autocompleter(program); // Stop the server to avoid eval'ing stdin from prompts this.program.on('run', () => { - this.stop(); + // this.stop(); }); } attachHistory(history) { @@ -89,7 +89,7 @@ export class Repl { // Since we stop the server when a command is executed (by listening to the // 'run' event in the constructor), we need to start a new instance when the // command is finished. - this.start(); + // this.start(); // The result passed to this function is printed by the Node REPL server, // but we don't want to use that, so we pass undefined instead. cb(null, undefined);