isaacs / tshy

Other
890 stars 18 forks source link

tshy is TooShy about emitting errors #37

Closed boneskull closed 10 months ago

boneskull commented 11 months ago

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 11 months ago

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 11 months ago

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 11 months ago

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 10 months ago

Will re-open when more details provided.

boneskull commented 8 months ago

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.