An open API service indexing awesome lists of open source software.

https://github.com/hipstersmoothie/typescript-incremental-node-compiler-example


https://github.com/hipstersmoothie/typescript-incremental-node-compiler-example

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

To check that incremental builds are working I:

1. `yarn build`
2. Delete the `.d.ts` file in `dist` (if incremental builds are working the next step should not emit any files because tsbuldinfo thinks they are already on the system)
3. `yarn build`

To check that the builds are fast run

1. `yarn build` (get initial emit) ~2.5s
2. `yarn build` (second emit should be much shorter) ~2.5s

Compare this with `tsc`:

1. `yarn build:tsc` (first time takes ~2s)
2. `yarn build:tsc` (second time takes 0.31s)