3 ms·
But when you use a tool like webpack it's even simpler - you just save your file and it recompiles & reloads. You can also run 'tsc -w' (watch mode) and it wil
by peterkelly 8y ago
But when you use a tool like webpack it's even simpler - you just save your file and it recompiles & reloads.
You can also run 'tsc -w' (watch mode) and it will automatically recompile as soon as files change. And since doing so maintains a local cache of the compiler's state in memory it's extremely fast.
The tiny amount of time I spend waiting for compiles is several orders of magnitude less than when I had to deal with the lack of static typing, particularly when refactoring code.