Use create instead of connect

This commit is contained in:
Nathan Bierema 2021-11-01 23:02:20 -04:00
parent 4ca780962a
commit e74557d461

View File

@ -423,7 +423,7 @@ class DevToolsEnhancer<S, A extends Action<unknown>> {
)
return;
this.socket = socketCluster.connect(this.socketOptions);
this.socket = socketCluster.create(this.socketOptions);
this.socket.on('error', (err) => {
// if we've already had this error before, increment it's counter, otherwise assign it '1' since we've had the error once.