Skip to content

fix the error of missing res.end function#69

Open
yaou-li wants to merge 2 commits intoleecade:masterfrom
yaou-li:master
Open

fix the error of missing res.end function#69
yaou-li wants to merge 2 commits intoleecade:masterfrom
yaou-li:master

Conversation

@yaou-li
Copy link
Copy Markdown

@yaou-li yaou-li commented Apr 29, 2021

"koa": "^2.5.3",
"webpack-hot-middleware": "^2.25.0",

There is a function call res.end() at line 105 in in webpack-hot-middleware/middleware.js
req.on('close', function() { if (!res.finished) res.end(); delete clients[id]; });
So the error occurs as below
Screen Shot 2021-04-29 at 10 54 39 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant