-
Notifications
You must be signed in to change notification settings - Fork 29k
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
[feat]: Enable restarting node process manually while using --watch
option
#50212
Comments
Too vague to be actionable. What kind of server and how should it be refreshed. Be specific. |
do you mean this feature of nodemon? https://www.npmjs.com/package//nodemon#manual-restarting
|
Manual restarting. |
--watch
--watch
option
--watch
option--watch
option
I tried exploring this a little, it seems the feature would be pretty simple implement something like
but the main issue is somehow this blocks exiting the process even doing something like CtrlC keeps the process running no idea why this happens but if anyone here might have any insight into this would be grateful! |
There has been no activity on this feature request for 5 months. To help maintain relevant open issues, please add the
never-stale
|
There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment. For more information on how the project manages feature requests, please consult the feature request management document. |
What is the problem this feature will solve?
This will enable manual restart while using
--watch
option even if there was no change in the codebase.What is the feature you are proposing to solve the problem?
The
--watch
option in Node.js tells Node.js to watch for changes to the specified file or directory and restart the Node.js process when any changes are detected. This is useful for development, as it allows you to make changes to your code and see the results immediately without having to manually restart the Node.js process.But what if I want to manually restart the Node.js process? how I'm I going to do that?
That's how I'm requesting to add a command that can do that for us. like:
nodemon
havers
see: npmjs.com/package//nodemon#manual-restarting for more info.
What alternatives have you considered?
The text was updated successfully, but these errors were encountered: