-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CLI: switch successful message event type #841
CLI: switch successful message event type #841
Conversation
LGTM! Please rebase with master: |
this way it will be correctly sent to stdout instead of stderr
done! there weren't any other instances to update. |
Thanks! Going by this logic, we should probably replace the following instances as well: Meaning we don't need emitter to as well and fix the related tests: probably somewhere @wesleytodd, @paulcpederson, @kevva, thoughts? |
uhmm... right! |
Using |
sorry, I don't understand why |
oh I see... with |
nope. even with |
Ok, so after digging in here I see the problem. This PR breaks standard unix programing pattern of This is actually why the logging is all supposed to go to For more reference: http://en.wikipedia.org/wiki/Standard_streams
|
@gibatronic Maybe you should post more about why you need this feature? Then we could brainstorm something better to help? |
it's alright, it's probably not valuable enough for common usage. |
Agree with @wesleytodd; this kind of output should not appear on stdout. So lets keep the |
@wesleytodd +1 good sleuthing. Having a flag to suppress As for the name, I've seen |
Note that we need to suppress warnings only and keep the errors on stderr. |
|
yea... |
Good point. 👍 |
alright! I'll work on the |
Personally I would choose |
A good example is |
Hey, I am spoiled by windows powershell: |
hey guys. this pull request is meant to solve a simple issue:
send CLI succesful messages to stdout instead of stderr.
currently redirecting the stdout has no effect:
node-sass input.scss output.css > /dev/null
the above command still outputs:
I could redirect the stderr, but then it would be impossible to know if something breaks.
what do you guys think?