Wrangler Pages Dev Unresponsive after Node.js Crashes
Whenever Node.js crashes from a syntax error or throws an error, wrangler doesn't want to start the local server at all. All I get is this error after running
npx wrangler pages dev dist
:
I am currently developing a react app, the only way I can solve this issue is by restarting my laptop.
Has anybody solved / encountered this issue? Any help would be appreciated!1 Reply
I hit this regularly as well. I'd also love to know how it can be resolved
OK I found a way to reset it.
ps -ax | grep 8788
gives me the process that is still running:
You'd need to replace the 8788 with whatever port your hung process started up with. Or you could try grepping for workerd
instead, maybe