Open fadingbeat opened 1 year ago
I'm also encountering this, and have been for a while (https://answers.netlify.com/t/netlify-dev-randomly-getting-typeerror-res-writehead-is-not-a-function-at-proxyserver/73639/14) but it seems to be more frequent now.
It's too often and became frustrating. Basically, I have to run the server every time I make a change to the code.
+1 on this issue. I keep getting: TypeError: res.writeHead is not a function at random intervals and when editing files. It makes using the CLI impossible. I'm experiencing the issue in both next and gatsby projects.
Describe the bug
If development server is running and I create a change in the code, upon saving those changes the server crashes. It also crashes if I switch between Git branches. The instance of application is running in the browser constantly. There are a couple of scenarios I've noticed this happening.
Steps to reproduce
Using VS Code Using Netlify serverless functions
Scenarion 1:
Scenario 2:
Scenario 3:
Configuration
Environment