sal avellino

sal avellino

  • 1.6k
  • 4
  • 663

Node Express request locks the terminal after Simple Rest Client Reque

Feb 4 2022 4:16 AM

I'm using VS Code Win10 to learn node.js and in the process I'm making a lot of errors. I can't get past the below 2 issues after a client request is made

  1. any change to the source code to be reflected in the next request requires the server to be stopped and restarted. In order to stop the server the terminal must be killed

  2. because the terminal is locked after a client request the terminal must be deleted and a new terminal started to start the server

Is there a better way to do 1 and 2


Answers (1)