Skip to content

Commit

Permalink
fix: 🐛 ignore children process killed error
Browse files Browse the repository at this point in the history
  • Loading branch information
stormslowly committed Sep 14, 2024
1 parent 7e367d0 commit b804d6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/fixtures.umi/dev.hmr/app.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import "./global.css"
import "./global.css";
1 change: 1 addition & 0 deletions scripts/test-e2e.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ for (const dir of onlyDir ? [onlyDir] : dirs) {
if (dir.startsWith('dev')) {
console.log(`cd ${cwd} && umi dev`);
let p = $`APP_ROOT=${cwd} OKAM=${localMako} umi dev`;
p.catch(() => {});

const isRunning = await waitForServer(
defaultPort + 1, // mako's port, when it's open, dev can serve
Expand Down

0 comments on commit b804d6b

Please sign in to comment.