We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14425e0 commit 6f21e22Copy full SHA for 6f21e22
apps/test-app/scripts/run-tests.ts
@@ -1,7 +1,7 @@
1
import assert from "node:assert/strict";
2
import path from "node:path";
3
4
-import { spawn } from "bufout";
+import { spawn, SpawnFailure } from "bufout";
5
6
// Ideally, we would just use "concurrently" or "npm-run-all" to run these in parallel but:
7
// - "concurrently" hangs the emulator action on Ubuntu
@@ -41,4 +41,8 @@ const build = spawn(
41
}
42
);
43
44
-Promise.all([metro, build]).catch(console.error);
+Promise.all([metro, build]).catch((err) => {
45
+ if (!(err instanceof SpawnFailure)) {
46
+ throw err;
47
+ }
48
+});
0 commit comments