Runtests looks better without the "retrying" message.

This commit is contained in:
Timothy Farrell 2018-06-01 03:31:08 -05:00
parent 4c20e1400e
commit 5e76d7a1be

View File

@ -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));