Automatically compile TypeScript files on file save
Automatically compile TypeScript files on file save I'm looking to move a vanilla node.js project to TypeScript and I'm curious about how to restart my server with the latest changes without needing to run tsc from the command line each time I make a change. I see from this answer two options: ts-node and tsc --watch ts-node tsc --watch Can someone provide a little color on the difference between these two options? I understand they accomplish the same goal, but how are they different and in which situation should I use one over the other? See this comment on the answer: stackoverflow.com/questions/33535879/… – Aankhen Jul 2 at 10:21 @Aankhen that helps but it doesn't completely answer my question – johnnyodonnell Jul 2 at 13:21 ...