From 5e76d7a1be88333be27a891f3fea48772d8c1e1f Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Fri, 1 Jun 2018 03:31:08 -0500 Subject: [PATCH] Runtests looks better without the "retrying" message. --- bin/runTests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/runTests.js b/bin/runTests.js index 7ff1ebb..5f36aa3 100755 --- a/bin/runTests.js +++ b/bin/runTests.js @@ -107,11 +107,10 @@ function startStaticServer() { }); server.on('error', e => { if (e.code === 'EADDRINUSE') { - console.log('Address in use, retrying...'); setTimeout(() => { server.close(); server.listen(PORT, HOST); - }, 1000); + }, 500); } }); server.listen(parseInt(PORT, 10));