mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Wait on the actual iframe file
This commit is contained in:
parent
d2b89164a1
commit
5d47526fd6
@ -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;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user