#Address already in use onsave
10 messages · Page 1 of 1 (latest)
It should be solved by doing the port kill via the terminal command, if you use linux
i know how to kill a port, its just doesnt stop.
I need to run again the app on save...
Isnt that the idea behind hot reload?
What command u using to start ur nest app?
npm run start:dev / start:debug
Never had this issue...
What i m getting is ur problem is
U start the app with npm run start:dev
And then whenever u saved ur changes (pressing Ctrl+S) ...ur nest app didn't get restarted on it's own ..u have to stop the app and restart it manually using the same command
Is that right?
No.
- I run the npm command the first time,
- I make a change to a ts file.
- The server restarts automatically but fails to load because the port is taken,
I need to stop the npm command with Ctrl+C abd run it again.
over and over again