gilamran/tsc-watch

Doesn't always catch the compilation success or failure

dko-slapdash opened this issue · 5 comments

Hi.

I noticed that in some cases, File change detected. Starting incremental compilation... message is printed by tsc, but there is no final Found N errors. Watching for file changes. message emitted, so tsc-watch just doesn't run onSuccess/onFailure handlers.

I can't unfortunately reproduce it stable enough, but it happens to all our engineers time to time.

@gilamran Have you ever noticed this effect before?

I haven't encountered anything like that, without the ability to reproduce I can't do much...

do you have a way to reproduce this issue?

I have it in our proprietary codebase (yarn workspace monorepo with lots of packages under packages/*), not in the wild unfortunately. And it happens all the time - "Watching for file changes" is just not emitted by tsc sometimes.

Can you use tsc -w to test where's the issue?

bump before closing