Skip to content

Commit 98bc8ba

Browse files
committed
note npm script issue
1 parent 7b84af7 commit 98bc8ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/server/src/service.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ export function useService(
2828
): Operation<void> {
2929
return resource(function* (provide) {
3030
if (cmd.startsWith("npm")) {
31-
throw new Error("scripts run with node don't respect signals");
31+
// see https://github.com/npm/cli/issues/6684
32+
throw new Error(
33+
"scripts run with npm don't respect signals to properly shutdown"
34+
);
3235
}
3336
const process = yield* useProcess(cmd, options.processOptions);
3437

0 commit comments

Comments
 (0)