Runtests looks better without the "retrying" message.
This commit is contained in:
parent
4c20e1400e
commit
5e76d7a1be
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user