Correctly waiting for server start; choosing interpreter (atclient)

This commit is contained in:
DarkCat09 2022-12-26 15:48:08 +04:00
parent 45b4a10e87
commit 69a8f83c9c
3 changed files with 36 additions and 5 deletions

View file

@ -27,4 +27,4 @@ window = global
document = window.document || {}
const server = http.createServer(listener)
server.listen(port, host)
server.listen(port, host, () => console.log('OK'))