-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Port is already in use when I quit with CTRL+C and restart manually #1164
Comments
Not sure what MINGW64, but I've just tried to replicate this in Windows 10 Pro 1703, using git bash and I can't replicate at all. I'll need more details. Left side is gitbash - restarting on file changes, then I did ctrl+c then re-ran and it cleaned up the child process and was able to run again without issue. |
Running a simple http server exactly as the one you posted, I saw that issue did not get reproduced to me too but it does get reproduced to all other projects that require more modules. Let me show you one of them app.js : I removed many dependencies and left only the basics in order to test it only with the followings
.bin/www
package.json - On current test I used only the dependencies you can see in app.js
PS: If necessary you can see |
Can you reduce the package down until you've got the minimum replicable case? |
Disregard, related to #1173 original comment: Minimal repro, which I made from OSX: https://github.com/vcarl/nodemon-bug
I found this issue while trying to hunt down why nodemon was reliably crashing every other restart on my brand new express app. nodemon is pinned to |
Ah excellent. Thanks for pointing me there. |
This issue has been automatically closed because there hasn't been a response to my request for more information from the original author. With only the information that is currently in the issue, I don't have enough information to take action, sorry! Please comment on this issue if you have or find the answers we need so that someone can investigate further. |
Updated from
1.12.1
to1.12.7
and still getting the following error when I restart Nodemon after quitting it byCTRL+C
using Git Bash.The action I take is to kill the running NodeJS proccess through Windows Task Manager and then restart Nodemon. It seems that it cannot kill the child pid properly when
CTRL+C
is used in my case and on this installation.However it does not cause any error while I give
rs
or when it restarts automatically due to monitored files that changed or when I run it through Powershell.The text was updated successfully, but these errors were encountered: