Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
trivikr opened this issue Apr 30, 2024 · 1 comment

Comments

@trivikr
Copy link

trivikr commented Apr 30, 2024

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
@remy
Copy link
Owner

remy commented Apr 30, 2024

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.

@remy remy closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants