nest-cli icon indicating copy to clipboard operation
nest-cli copied to clipboard

Manual restarting in watch mode

Open vfa-trungnm opened this issue 4 years ago • 5 comments

I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Expected behavior

manual restart server by typing "rs" in watch mode, like nodemon

vfa-trungnm avatar Dec 25 '20 09:12 vfa-trungnm

Would you like to create a PR for this issue?

kamilmysliwiec avatar Dec 28 '20 08:12 kamilmysliwiec

Would you like to create a PR for this issue?

I don't know. Can you help me?

vfa-trungnm avatar Jan 23 '21 05:01 vfa-trungnm

Is anyone working on this? A point in the right direction, and I might be able to make a PR for this.

Odame avatar Jul 03 '21 19:07 Odame

No one is working on it at the moment. You'd need to be able to read from process.stdin for the restart command (as suggested make it rs) and on hearing that input kick of the build and start process. The start.action.ts file should help with how the command works if I recall

jmcdo29 avatar Jul 03 '21 19:07 jmcdo29

Super! That's helpful. I will take a look.

Odame avatar Jul 03 '21 19:07 Odame

hey - any updates on this?

ej-shafran avatar Nov 24 '22 10:11 ej-shafran

Since there has been no update on this for a while, I took the liberty to implement it this afternoon. I'm opening the PR now.

sheerlox avatar Mar 30 '23 18:03 sheerlox

Let's track this here https://github.com/nestjs/nest-cli/pull/2011

kamilmysliwiec avatar Mar 31 '23 07:03 kamilmysliwiec