Skip to content

Commit

Permalink
Fix behavior with vite's dev server
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow authored Jan 7, 2024
1 parent c36b4ef commit 8115a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/frontendlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 8115a8c

Please sign in to comment.