-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Running nodemon
terminal process is not killed at restart/close
#87321
Comments
(Experimental duplicate detection) |
It looks like your report is missing some important information, See this wiki page for more info on how to report actionable terminal issues. |
Allright, here is more information: VS Code version: Code 1.41.1 (26076a4, 2019-12-18T14:57:51.166Z) System Info
Extensions (32)
Relevant parts of settings.json{ "explorer.confirmDragAndDrop": false, "files.autoSave": "onFocusChange", "window.restoreWindows": "all", "editor.formatOnSave": true, "window.zoomLevel": 0, "terminal.integrated.env.osx": { "SOLARIZED_THEME": "light" }, "terminal.integrated.shell.osx": "/bin/zsh", "terminal.integrated.scrollback": 100000, }I am not using an extension to launch the terminal. Note that I can reproduce it with my next.js app, but not when I directly run Do you need more info like trace logs for this issue? |
I tried to reproduce the issue with a new next.js project, but could not. In my project I use a custom server with |
nodemon
terminal process is not killed at restart/close
Not yet confirmed |
It just happened to me using zsh on VS Code and outside of it on Ubuntu |
Happened to me on Windows 10 with nodemon, after restarting VSCode I tried running nodemon again and it said the port is being used |
|
I can't reproduce, if this does happen to you, try listening for |
This is a duplicate of the closed bug #56217 which still happens in the current version in combination with
nodemon
. The original issue is locked, therefore I created a new issue.Issue Type: Bug
The 2
node
processes from nodemon will keep running.Note that when instead of quitting VSCode, aborting the process with
CTRL + C
, thenode
processes are removed correctly.In my concrete use case, I have a next.js app, and after such a VSCode close and restart, I cannot start my app again since it will fail with an error
Error: listen EADDRINUSE: address already in use :::3002
.I would expect all running processes in terminals to be quit when VSCode closes, also in the case of
nodemon
.The text was updated successfully, but these errors were encountered: