@soundworks/core
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -122,2 +122,4 @@ "use strict"; | ||
await new Promise((resolve, reject) => { | ||
let connectionRefusedLogged = false; | ||
const trySocket = async () => { | ||
@@ -149,3 +151,7 @@ log(`[string socket] trying connection - url: ${stringSocketUrl}`); | ||
if (e.type === 'error' && e.error.code === 'ECONNREFUSED') { | ||
console.log('[socket] connection refused - (retry in 1s)'); | ||
if (!connectionRefusedLogged) { | ||
console.log('[socket] connection refused, waiting for the server to start'); | ||
connectionRefusedLogged = true; | ||
} | ||
setTimeout(trySocket, 1000); | ||
@@ -152,0 +158,0 @@ } |
{ | ||
"name": "@soundworks/core", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "full-stack javascript framework for distributed audio visual experiences on the web", | ||
@@ -5,0 +5,0 @@ "authors": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
172198
4272