Much appreciated. Tried that no luck, could be something I’m doing wrong but all I did was add a console.log line and that broke it:
wsUrl = wsUrl.replace(/^.+\/\//, protocol);
console.log('test');
socket = new WebSocket(wsUrl);
I then get this:
=> Started proxy.
=> Started HMR server.
=> Errors prevented startup:
While building for web.cordova:
client.js:513:7: Unexpected token (513:7)
=> Your application has errors. Waiting for file change.
=> Started MongoDB.
Yes, I opened that issue as I found something similar.