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
- Host: GitHub
- URL: https://github.com/hipstersmoothie/typescript-incremental-node-compiler-example
- Owner: hipstersmoothie
- Created: 2019-08-26T23:00:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T22:46:45.000Z (over 5 years ago)
- Last Synced: 2025-01-13T21:24:31.483Z (4 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.5sCompare this with `tsc`:
1. `yarn build:tsc` (first time takes ~2s)
2. `yarn build:tsc` (second time takes 0.31s)