Skip to content

The open-source app everyone uses to manage agents at work

Update scripts/dev-runner.mjs

gsxdsm6b17f7caa898
diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjs
index 9cf5df5289..df55799f32 100644
--- a/scripts/dev-runner.mjs
+++ b/scripts/dev-runner.mjs
@@ -162,11 +162,16 @@ async function buildPluginSdk() {
["--filter", "@paperclipai/plugin-sdk", "build"],
{ stdio: "inherit" },
);
+ if (result.signal) {
+ process.kill(process.pid, result.signal);
+ return;
+ }
if (result.code !== 0) {
console.error("[paperclip] plugin sdk build failed");
process.exit(result.code);
}
}
+}
await buildPluginSdk();