Closed chimurai closed 2 years ago
Add socket error handler for proxyReqWs
proxyReqWs
hopefully fixes: https://github.com/webpack/webpack-dev-server/issues/1642 related: https://github.com/chimurai/http-proxy-middleware/pull/759
Relying on feedback from: https://github.com/webpack/webpack-dev-server/issues/1642#issuecomment-1104325120
Coverage decreased (-0.3%) to 98.315% when pulling 9bd9c7e1343938ce619717280a12483dcd946f79 on proxyReqWs-socket-error-handler into f64c99489526c355a96f6e32709da9299175d4e9 on 2.x.
Description
Add socket error handler for
proxyReqWs
Motivation and Context
hopefully fixes: https://github.com/webpack/webpack-dev-server/issues/1642 related: https://github.com/chimurai/http-proxy-middleware/pull/759
How has this been tested?
Relying on feedback from: https://github.com/webpack/webpack-dev-server/issues/1642#issuecomment-1104325120
Types of changes
Checklist: