-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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 process not terminated by SIGINT when loader is stuck #6958
Comments
yes noticed that too Note |
|
weird, maybe the compiler should also be closed? I've also noticed that sometimes |
@slorber |
🤷♂️ I don't know 😅 if it can work without any extra dependency I guess it's better |
hey, i got this problem, not sure why but single Note: i use pnpm to run it, the project itself i just started to make it from template and nothing are changed, so i dont think the bug was from my end. my system is ubuntu 20 with Bodhi Linux distro 64-bit (arm64). |
It also happens to me occasionally (yarn1, macos), but I have never been able to find the cause 😅 |
me too 👍 |
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
If the loader has an infinite loop or any other bug that causes it to get stuck, the dev server keeps running even when SIGINT is sent.
Discovered while working on facebookincubator/infima#219
Reproducible demo
No response
Steps to reproduce
yarn start
yarn start
again[WARNING] Something is already running on port 3000. Probably:
lsof -i tcp:3000
=> The dev server process is indeed still runningkill -9 47874
Expected behavior
SIGINT should be able to stop the dev server
Actual behavior
It keeps running in the background and listening on port 3000. Probably the
compile
process is never hung properly...Self-service
The text was updated successfully, but these errors were encountered: