Skip to content

Commit

Permalink
Fix behavior with vite's dev server (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow authored Jan 17, 2024
1 parent 8faf0f8 commit 7b6d8de
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 7b6d8de

Please sign in to comment.