remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development
http://nodemon.io/
MIT License
26.34k stars 1.74k forks source link

Document differences and/or provide migration guide to Node.js native watch mode #2196

Closed trivikr closed 7 months ago

trivikr commented 7 months ago

Is your request related to a problem? Please describe.

Thank you for developing and maintaining nodemon over the years.

Node.js added experimental watch mode in v18.11.0, and it was made stable in v22.0.0.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

remy commented 7 months ago

I get the sentiment, but what would motivate me to write detailed posted on how to migrate to a different thing? (there isn't).

Moreover, nodemon covers a vast number of uses cases way beyond the simple restart node process, again, I'm not inclined to write about all of those because they're fairly unlimited.

Perhaps at some point I might modify the readme to say "maybe you want node --watch x, but right now, at this point in time, I think it's redundant.

I think what will eventually be needed is "why do you need to use nodemon over nodes native watch", but again, now isn't the time.

But feel free to write the things you've proposed, they sound like useful community posts.