Skip to content

Commit abd5c0f

Browse files
committed
more more.
1 parent 9af4a18 commit abd5c0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/bin-test/test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,14 @@ async function startBin(
149149
try {
150150
process.kill(proc.pid, 0);
151151
} catch {
152+
console.log("yay pid no longer exists");
152153
// process.kill w/ signal 0 will throw an error if the pid no longer exists.
153154
return Promise.resolve(true);
154155
}
156+
console.log("nay pid STILL exists");
155157
return Promise.resolve(false);
156158
},
157-
TIMEOUT_S
159+
TIMEOUT_L
158160
);
159161
},
160162
};

0 commit comments

Comments
 (0)