[tsup] making a package

Error: Command failed: taskkill /pid 13244 /T /F
ERROR: The process "13244" not found.

at ChildProcess.exithandler (node:child_process:419:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
Error: Command failed: taskkill /pid 13244 /T /F
ERROR: The process "13244" not found.

at ChildProcess.exithandler (node:child_process:419:12)
at ChildProcess.emit (node:events:513:28)
at maybeClose (node:internal/child_process:1091:16)
at ChildProcess._handle.onexit (node:internal/child_process:302:5)
1 Reply
barry
barryOP16mo ago
"scripts": {
"typecheck": "tsc --noEmit",
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"start": "node dist/index.js",
"pub:beta": "pnpm build && npm publish --tag beta",
"pub:latest": "pnpm build && npm publish"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build": "tsup",
"dev": "tsup --watch",
"clean": "rm -rf dist",
"start": "node dist/index.js",
"pub:beta": "pnpm build && npm publish --tag beta",
"pub:latest": "pnpm build && npm publish"
},
Whenever I save a file and it tries to kill the previous task it does this and fails running it again Basically breaking my little hmr implementation
Want results from more Discord servers?
Add your server