Svish / cypress-hmr-restarter

A Cypress plugin which restarts tests on webpack-dev-server HMR updates
22 stars 6 forks source link

sockjs-node' failed: Error during WebSocket handshake: Unexpected response code: 200 #20

Open emahuni opened 2 years ago

emahuni commented 2 years ago

Cypress version 8.6.0 Using this on Quasar v1.

I installed the plugin as instructed, but I get the error when the actual HMR happens:

image

of which the tests rerun doesn't happen and it makes no sense why this is happening.

jamesikanos commented 1 year ago

I had to change my HMR URL to (for an Angular app):

hmrUrl: 'ws://localhost:4200/sockjs-node/websocket'

Works fine