vscode-nodejs-repl icon indicating copy to clipboard operation
vscode-nodejs-repl copied to clipboard

`Disposing REPL` when saving the file.

Open marc-x-andre opened this issue 7 years ago • 1 comments

Description

When the service is start on a new file, everything work fine. But if the current file is save "crtl+s", the REPL extension is dispose.

Steps to Reproduce

  1. Start the service on a new file.
  2. Initializing REPL extension
  3. Save the new file on your disk.
  4. Disposing REPL extension

Expected behavior:

File is save & the service doesn't stop.

Actual behavior:

The service is stop.

Reproduces how often:

100%

marc-x-andre avatar Jul 23 '18 20:07 marc-x-andre

I can take a look, but, most of the time a project only has one entry point - and it may or may not be to execute a code that you don't have 100% control over. Snippets is the best way.

REPL will run the same code over and over each time you type a new line, be aware of that.

lostfields avatar Jul 30 '18 07:07 lostfields