typed-ember / glint

TypeScript powered tooling for Glimmer templates
https://typed-ember.gitbook.io/glint
MIT License
109 stars 51 forks source link

compat: `glint --build` does not report errors #711

Open runspired opened 6 months ago

runspired commented 6 months ago

running either glint (no options) or tsc --build would report errors, but glint --build will silently succeed even if errors occur. It would be great to match behavior, or at least have a flag that allows errors to surface.

runspired commented 6 months ago

just coming back to this cause this has bitten me for about 3 hours worth of time in the last two days alone. Is this a big lift? a small lift? something someone like me that knows fairly little about glint could figure out?

dfreeman commented 6 months ago

I'm not an expert on that particular area of the codebase, but there's a pretty large suite of tests ensuring that glint --build emits errors in a number of different situations, so I can say for certain that whatever you're running into is a bug.