Skip to content

verbose arg for build commands #231

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

Merged
merged 1 commit into from
Dec 8, 2022
Merged

Conversation

ghiculescu
Copy link
Member

@ghiculescu ghiculescu commented Dec 7, 2022

By default, removes the verbose log line when running a Tailwind build. This isn't really needed most of the time. You can use the verbose option to include it.

% bin/rake "tailwindcss:build[verbose]"
["/Users/alex/.rvm/gems/ruby-3.1.2/gems/tailwindcss-rails-2.0.21-x86_64-darwin/exe/x86_64-darwin/tailwindcss", "-i", "/Users/alex/Code/foo/app/assets/stylesheets/application.tailwind.css", "-o", "/Users/alex/Code/foo/app/assets/builds/tailwind.css", "-c", "/Users/alex/Code/foo/config/tailwind.config.js", "--minify"]

Rebuilding...

Done in 480ms.

% bin/rake tailwindcss:build

Rebuilding...

Done in 500ms.

By default, removes the verbose log line when running a Tailwind build. This isn't really needed most of the time. You can use the `verbose` option to include it.

```
% bin/rake "tailwindcss:build[verbose]"
["/Users/alex/.rvm/gems/ruby-3.1.2/gems/tailwindcss-rails-2.0.21-x86_64-darwin/exe/x86_64-darwin/tailwindcss", "-i", "/Users/alex/Code/foo/app/assets/stylesheets/application.tailwind.css", "-o", "/Users/alex/Code/foo/app/assets/builds/tailwind.css", "-c", "/Users/alex/Code/foo/config/tailwind.config.js", "--minify"]

Rebuilding...

Done in 480ms.
% bin/rake "tailwindcss:build"

Rebuilding...

Done in 500ms.
```
@flavorjones
Copy link
Member

Yeah, great idea, thanks for cleaning this up!

@flavorjones flavorjones merged commit a94491d into rails:main Dec 8, 2022
@ghiculescu ghiculescu deleted the verbose branch December 8, 2022 15:28
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

Successfully merging this pull request may close these issues.

2 participants