Wait on the actual iframe file

This commit is contained in:
Tom Coleman 2023-03-22 13:11:23 +11:00
parent d2b89164a1
commit 5d47526fd6

View File

@ -26,7 +26,11 @@ export const dev: Task = {
// If aborted, we want to make sure the rejection is handled.
if (!err.killed) throw err;
});
await exec(`yarn wait-on http://localhost:${PORT}`, { cwd: codeDir }, { dryRun, debug });
await exec(
`yarn wait-on http://localhost:${PORT}/iframe.html`,
{ cwd: codeDir },
{ dryRun, debug }
);
return controller;
},