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

"Quiet" mode #240

Closed
devinhurley-ge opened this issue Jun 8, 2018 · 2 comments
Closed

"Quiet" mode #240

devinhurley-ge opened this issue Jun 8, 2018 · 2 comments

Comments

@devinhurley-ge
Copy link

It'd be nice to have a "quiet" mode like -q in the babel cli where the print statements during sucrase' compilation are not displayed in the terminal.

@alangpierce
Copy link
Owner

Makes sense. Note that on linux and macOS, you could do sucrase (args) > /dev/null for something similar, I think.

Out of curiosity, what's your build setup like? For example, are you compiling for node or the browser, and are you using a bundler or other tools? The use cases I've seen have typically involved running Sucrase using other tools (webpack, gulp, etc.) rather than from the CLI.

@alangpierce
Copy link
Owner

Note that Babel 7 changed the CLI args to hide the output files by default and print a summary at the end, and got rid of the --quiet mode. For now I'll just implement --quiet, but in the future I may release a breaking change to switch to something like the new way that Babel does it.

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

No branches or pull requests

2 participants