From 8115a8cc4418f7ba5a999492c1a492106839337a Mon Sep 17 00:00:00 2001 From: Kendell R Date: Sat, 6 Jan 2024 16:31:40 -0800 Subject: [PATCH] Fix behavior with vite's dev server --- src/modules/frontendlib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/frontendlib.js b/src/modules/frontendlib.js index 1a8b281..cd8bfd9 100644 --- a/src/modules/frontendlib.js +++ b/src/modules/frontendlib.js @@ -127,7 +127,7 @@ module.exports.waitForFrontendLibApp = async () => { }, 500); try { - await tpu.waitUntilUsed(port, 200, 10000); + await tpu.waitUntilUsedOnHost(port, "localhost", 200, 10000); } catch(e) { utils.error(`Timeout exceeded while waiting till local TCP port: ${port}`);