tsx icon indicating copy to clipboard operation
tsx copied to clipboard

⚡️ TypeScript Execute: Node.js enhanced to run TypeScript & ESM

Results 163 tsx issues
Sort by recently updated
recently updated
newest added

### Bug description When working with composite projects, our tests failed because it seems that `tsx` is not taking the reference project's baseUrl or path into consideration. ### Reproduction Test...

bug
pending triage
tsconfig

### Bug description `tsx` does not wait for script to exit gracefully before terminating the process. ### Reproduction Let's say you have `main.ts` as the following: ``` console.log('starting up'); process.on('SIGINT',...

bug
pr welcome
pending triage

### Feature request When using `tsx watch --inspect=...`, when files change, the node debug server is briefly stopped & restarted. This makes sense, but if I've attached a debugger in...

enhancement
pending triage

### Feature request Auto-restart TSX when crash is detected ### Why? Useful for a live service / development ### Alternatives ### Additional context _No response_

enhancement

### Bug description ```ts import { Rule, Scope } from 'eslint'; // `Rule` and `Scope` are both ts namespace import Variable = Scope.Variable; import CodePathSegment = Rule.CodePathSegment; ``` ```log import...

bug
blocked

### Feature request NodeJS has a [new experimental built-in test runner](https://nodejs.org/docs/latest-v18.x/api/test.html) in version 18+. It is typically invoked for JavaScript files via `node --test` or `node --test test/**/*.test.js`, for example....

enhancement
pr welcome

### Acknowledgements - [X] I searched existing issues before opening this one to avoid duplicates - [X] I understand this is not a place for seek help, but to report...

bug
pending triage

### Bug description What did you do? (Provide reproduction code in next section) Run `npx tsx watch` for console app What did you expect to happen? I was expecting the...

bug
pr welcome
watch