Hello everyone I m tryi…

1 minute read

Hello everyone! I’m trying to play with nestjs into a nx worskpace but i’m facing few problems. The first one is, how can i configure nodemon in a way that when i run nx serve <app_name> i make reference to a nodemon command instEad of a simple node command?

I’ve tried something like create a nodemon.json on the workspace root folder, but nothing seems to work.

Has anyone worked with nx + nestjs (with nodemon) and know tell me the proper path to configure this?

Responses:

You shouldn’t need nodemon with nest if using nx (unless for a specific reason) use nx serve "server project name" and it will hot reload your server like nodemon

That sounds really good

I appreciate your answer

Yup no need for external tools. Nx leverages the angular CLI for everything like that. You can hot reload any project created using nx serve

Great!!

I’m attending this remote Meetup next week. Maybe you’d find it interesting too? <https://www.meetup.com/en-AU/HamOnt-JavaScript/events/271255358/ https://www.meetup.com/en-AU/HamOnt-JavaScript/events/271255358/>

Of course i do!

you should post that meetup in events :)

i think the link to the meeting room is unavaliable

I think you may be right . :woman-shrugging: I’m not the organizer, myself … so I’m not sure what’s up there.

Updated: