isaacs/tshy

tshy is TooShy about emitting errors

boneskull opened this issue · 5 comments

You need to use TSHY_VERBOSE=2 to see any compiler errors. I feel like these should probably just be passed thru stderr by default?

isaacs commented

Ahh, yes, it only prints the diagnostics when the build fails, but you probably do want those warnings in any case. The tsc command should just inherit stdio.

isaacs commented

Do you have strict:true in tsconfig? I usually do have that set, probably why I haven't noticed this issue, since anything that has diags to print will also exit in error.

isaacs commented

Hm, looking at this, it seems like it already uses stdio:inherit. Are you using the latest version? Do you have a project where I can see it not output diagnostics that you'd expect it to?

isaacs commented

Will re-open when more details provided.

sorry, I lost track of this. yeah, I think I probably just didn't see the error because I had to scroll up to see it.