-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
@babel/cli can't be quietened #8326
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
@babel/cli can't be quietened #8326
Comments
Hey @insin! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
It looks like |
Hey @loganfsmyth, I'd like to work on this. This will be my first contrib. 😃 |
@Rohanhacker go for it! |
Hi @loganfsmyth @insin so would the Am I missing an issue in instead basing the lone |
Yes, I'd say it should disable all logging. My preference would be for
I honestly don't feel strongly about it, you're right that we could absolutely just change it so that @Rohanhacker Have you looked into this at all at this point? |
I haven't thought about the case when --verbose alongside --quiet is used. I was caught up with something. I'll make a pr tomorrow. I think throwing an error make sense when both are used together. |
@loganfsmyth I've added the quiet flag, Should I make a pr or change it so that --verbose is required for the "Successfully compiled" message ?? |
hey @Rohanhacker do you still working at this issue? i've been looking any pull request opened by you but i have not found it |
@thallysrc I've added quiet flag but not sure if it is required or not |
Hey @loganfsmyth and @Rohanhacker ! Has this issue been solved yet? If not may I take a look at it? Thanks |
When I upgraded to Babel 7, it stopped console logging the files that were transpiled. How can I get that logging back again? Now it only says |
Any update on this for adding the |
v7 Regression
Potential Commit/PR that introduced the regression
#7439
Describe the regression
@babel/cli
can no longer be quietened.The
--quiet
flag was removed and a "Successfully compiled..." message is logged to the console without an option to suppress it:babel/packages/babel-cli/src/babel/dir.js
Lines 126 to 130 in 62ee1ad
Environment
@babel/cli v7.0.0-beta.53
The text was updated successfully, but these errors were encountered: