How can I see what files are being processed by tsc?

Viewed 2050

Is there any flag to tsc which makes it a bit more verbose about what it's doing? I found --terse and --verbose references, but not sure these are old flags or proposed ones, because none of them works.

I'd like to see which files it's processing, for example.

2 Answers

Use npx tsc --build --verbose per the TypeScript documentation:

$ npx tsc --build --verbose
[3:47:04 PM] Projects in this build:
    * tsconfig.json

[3:47:04 PM] Project 'tsconfig.json' is out of date because output file 'src/index.js' does not exist

[3:47:04 PM] Building project '/home/mike/Code/mycompany/mpackage/tsconfig.json'...
Related