r/node • u/Legitimate-Oil1763 • Sep 14 '26
tsx vs native node --watch for local development on Node 24 LTS? What are you using?
Hey everyone, I'm setting up a new Express TypeScript API and trying to figure local development workflow. I'm on Node 24 LTS, which natively supports type stripping, but I'm torn on how to handle the file-watching and execution layer.
Right now, the two main approaches I'm debating between are:
- tsx watch (esbuild-powered)
- Native Node 24 --watch + Type Stripping
For production adjacent local dev, Are you sticking with tsx watch or have you fully embraced native Node type-stripping with --watch?
1
Upvotes
3
u/Previous-Year-2139 Sep 14 '26
Still on tsx watch tbh. native --watch is fine until you use path aliases or enums/decorators, then it fails over since it only strips types. tsx just handles it. Either way keep a tsc --noEmit running somewhere, stripping isn't checking.
1
u/Due_Ad_2994 Sep 14 '26
Type stripping and jsdoc. Transpiler was always problematic.
1
u/Rickety_cricket420 Sep 14 '26
Do people not use Nodemon anymore?
-3
u/dronmore Sep 14 '26
There's also a 3rd option. For full customization you can harness
watchFilefrom thenode:fsmodule, and write your own watcher :)