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

Monitor for changes and restart server in development

Open mayordwells opened this issue 8 years ago • 3 comments

One thing I find to be really frustrating when developing with Nestjs is the fact that I have to restart the server everytime I make little changes to my code base. After doing a little research I found out that is what nodemon is good for. Development will be so much easier if this feature is available upon creation of a new project.

Please consider it. Thanks for looking into it.

mayordwells avatar Apr 08 '18 07:04 mayordwells

if you generate your app with the nest cli this is already in the package.json scripts. npm run start:dev

dmtw avatar Apr 08 '18 18:04 dmtw

Thanks for your reply @dmtw . usually, I just run npm start and never got my app to recompile when I make a change. I feel like that feature should just be available by default without npm run start:dev. But it's good to know it already exists. Going to give it a try now.

mayordwells avatar Apr 08 '18 19:04 mayordwells

build and serve commands will be the next features

thomrick avatar Apr 17 '18 20:04 thomrick