Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write compilation errors to stderr #17

Closed
moritzschepp opened this issue Aug 24, 2016 · 3 comments
Closed

write compilation errors to stderr #17

moritzschepp opened this issue Aug 24, 2016 · 3 comments

Comments

@moritzschepp
Copy link

I'm using riot 2.6.0 and the riot command outputs both compilation errors and success messages to stdout. For better integration in my build chain, it would be awesome if errors could go to stderr instead.

@GianlucaGuarini
Copy link
Member

@moritzschepp good idea thanks for your feedback. May I know what's the advantage of using stderr in your build chain?

@moritzschepp
Copy link
Author

Absolutely, I can even show you: https://github.com/dfk-paris/pb/blob/master/widgets/build.sh#L42

I'm currently working on this rails app, which serves as json api only. To compile the frontend during development, we run npm run watch which calls the above build.sh. There, we would like to run riot quietly (-s) but that also suppresses error messages. Instead, we could run it without -s but redirect stdout to /dev/null.

But as you can see, the feature request is rather low priority :)

@moritzschepp
Copy link
Author

Thanks a lot, @GianlucaGuarini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants