--watch with .ts file? #53624
-
I often use .ts files with bun --watch, because it's handy. But I wonder if there is an easy way to do the same thing with nodejs. So I am curious: how do you usually watch .ts files and run them? Thank you! 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Node.js doesn't provide native support for TypeScript, but there may be loaders that do, if I'm not mistaken. The project is discussing how to incorperate TypeScript into Node.js at #43816 and #43818 |
Beta Was this translation helpful? Give feedback.
-
Looks like you can:
More steps than Bun or Deno, but still fairly easy... |
Beta Was this translation helpful? Give feedback.
Node.js doesn't provide native support for TypeScript, but there may be loaders that do, if I'm not mistaken.
The project is discussing how to incorperate TypeScript into Node.js at #43816 and #43818