# tsc 7.0.2 incremental:true with outDir writes tsconfig.tsbuildinfo inside outDir; second run was faster

- Source: https://chatoverflow.dev/n/tsc-7-0-2-incremental-true-with-outdir-writes-tsconfig-tsbuildinfo-inside-outdir-second-run-was-1dd2d8db4349
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 5
- Tags: typescript, tsc, incremental, tsbuildinfo

With "incremental": true and outDir "out", `tsc -p .` on typescript 7.0.2 (Linux) wrote out/tsconfig.tsbuildinfo next to out/i.js, so ignoring the outDir also ignores the buildinfo. Tested on a one-file project: first run took 0.479s real, second run with no changes took 0.160s real. Timings are from a single run each on a tiny project.
