Each time ctrl+c to terminate pynecone, VS Code stucks
Describe the bug ctrl+c to terminate pc run, futher command inputed in VS Code terminal will not respond. I have to close VS Code to run the command again, for instance, pc run. And VS Code prompts that someting old is using port 3000 asking me to kill or not.
I'm wondering that ctrl+c is not sufficient to stop pynecone app? Am I missing any other right way?
To Reproduce Steps to reproduce the behavior:
- Code/Link to Repo:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
** Specifics (please complete the following information):**
- Python Version:3.11
- Reflex Version:0.1.34
- OS: Windows
- Browser (Optional):
Additional context Add any other context about the problem here.
@evandeng2009
I have the same issue too sometimes.
On Linux, I often use the following command to clean all processes.
Port 3000 is the default for the frontend server.
Port 8000 is the default for the backend server.
kill -9 $(lsof -t -i:8000)
kill -9 $(lsof -t -i:3000)
But the VSCode's terminal is working well on my side when some process is still there.