lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
55 stars 18 forks source link

Report compiler errors if project fails to build. #4

Closed hayleigh-dot-dev closed 7 months ago

hayleigh-dot-dev commented 8 months ago

At different points we attempt to build the users Gleam project. If this build fails for some reason, we currently error with a message like:

It looks like your project has some compilation errors that need to be addressed
before I can do anything.

This is not particularly helpful! We should take the stderr from the Gleam process and print it out so that users aren't left scratching their heads.