Whenever I run `dev`, the process oftentimes doesn't shut down correctly and it ends up needing to u

Whenever I run dev, the process oftentimes doesn't shut down correctly and it ends up needing to use a different port every time. I get errors like this: ✘ [ERROR] Address already in use (127.0.0.1:60392). Please check that you are not already running a server on this address or specify a different port with --port. So I have to run the following:
lsof -i :60392
kill -9 <PID>
lsof -i :60392
kill -9 <PID>
Is there a way to avoid this or fix this? I feel like this is some known issue. When I searched about it online, I think folks are saying it's due to the hot-reloading feature, but this seems like a fundamental issue.
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?