-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Dev server continues to run after aborting npm run dev
(Ctrl+C)
#802
Comments
Could you give some information about your environment?
|
I have the same thing.
In order to really stop it I have to run Windows 10 Edited: meant webpack 2.3.x |
@maxmilton Same setup as @Christilut except I got node 6.11.1 and webpack 2.6.1. Everything else is up to date and the project is brand-new. No other commands are involved. I noticed that this issue doesn't occur with |
I have the same issue. Windows 10 Only "npm run dev" is used. |
same issue
"webpack": "^2.6.1",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-middleware": "^1.10.0",
"webpack-hot-middleware": "^2.18.0", |
This is very possibly this issue from git for windows: git-for-windows/git#1248 |
Doesn't seem to be directly related to this template. Plus we will be switching to webpack-dev-server in the coming days (#975), so this would have to be re-evaluated after that. |
i had the same issue on windows solved it using the commands below remember these commands will only work in cmd not in gitbash
this command will tell you which program is using this port
and this will kill that process
|
or you can simply run task manager and kill node's process |
Worked for me.. thanks @Christilut |
Thank you! It works in both Ubuntu and Windows CMD |
Description
I had to restart the dev server after pulling in a package. In my terminal, where
npm run dev
command was being executed, I pressed Ctrl+C to abort it. Then I rannpm run dev
again and it failed with some reference tolocalhost:8080
, and from what I understood, the port was already occupied. Indeed, when I went tolocalhost:8080
the app was still running even thoughnpm run dev
was terminated and the terminal was closed.Steps
npm run dev
Ctrl+C
npm run dev
Results
localhost:8000
Brute-force fix
Kill the process manually. In WIndows, you can kill
Node.js: Server-side JavaScript
from Task Manager.The text was updated successfully, but these errors were encountered: