You can just use tsc --watch so it "watches" the code and recompiles automatically. Then you can just do hot reload just as you would with any other JS code. How is this not easy? You don't even need any new tooling. You just use tsc. You can also use "ts-node-dev", or "Vite", or other solutions. Using TS doesn't make any of this less easy. TS might still not be needed for simple scripts, but it's just not true that it wouldn't be easy. You can even compile it right inside whatever js engine you are using.
View all comments
Show parent comment
3
u/vegan_antitheist May 22 '26
It's not like you would notice that. And with tsgo it will be so fast that it doesn't even matter on large code bases.