remy / nodemon

Monitor for any changes in your node.js application and automatically restart the server - perfect for development

Home Page:http://nodemon.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

trivikr opened this issue · comments

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.

  • As a new user of nodemon landing from blog posts, I want to know that a native option is available.
  • As an existing user of nodemon, I want to check if I can migrate to native option.

Describe the solution you'd like

  • Provide a guide of migrating from nodemon to Node.js native watch mode
  • Highlight differences between nodemon and Node.js native watch mode

Describe alternatives you've considered

Additional context

  • nodemon -v: N/A
  • node -v: N/A
  • Operating system/terminal environment: N/A
  • Using Docker? What image: N/A
  • Command you ran: N/A

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.