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.32k stars 1.73k forks source link

State when package.json's main or scripts.start is used #1997

Closed joshkel closed 2 years ago

joshkel commented 2 years ago

As discussed in #1996, it would be nice if Nodemon's startup messages included text indicating when it's using the script from package.json's main or scripts.start.

paulkre commented 2 years ago

I'm not sure if this is the correct issue, but I've got a problem with this behaviour too. My package.json has the "main" field set to "lib/mod.js". When I run nodemon lib/run.js, nodemon tries to execute the command node lib/run.js lib/mod.js which obviously fails. How is this the intended behaviour? Have I done something wrong?

github-actions[bot] commented 2 years ago

This issue has been automatically marked as idle and stale because it hasn't had any recent activity. It will be automtically closed if no further activity occurs. If you think this is wrong, or the problem still persists, just pop a reply in the comments and @remy will (try!) to follow up. Thank you for contributing <3

github-actions[bot] commented 2 years ago

Automatically closing this issue due to lack of activity