Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running tsup with --watch, can't kill it with CTRL + C #1089

Open
patosullivan opened this issue Feb 28, 2024 · 0 comments
Open

running tsup with --watch, can't kill it with CTRL + C #1089

patosullivan opened this issue Feb 28, 2024 · 0 comments

Comments

@patosullivan
Copy link

patosullivan commented Feb 28, 2024

I have a simple package, it looks like this:

{
  "name": "some-project",
  "version": "1.0.0",
  "type": "module",
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "scripts": {
    "build": "tsup src/index.ts src/urbit/* --format esm --minify --dts --out-dir dist",
    "dev": "npm run build -- --watch"
  },
  "dependencies": {},
  "devDependencies": {
    "tsup": "^8.0.1",
   }
}

If I run npm run dev, I can't kill the process with SIGINT (CTRL + C), I have to SIGTERM it manually.

I'm running it within tmux on macOS Ventura.

Any idea as to what's going on? Is this a bug?

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant