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

Running rails assets:clean assets:precompile produces no public/assets/tailwind-[hash].css #379

Closed
grncdr opened this issue Jul 11, 2024 · 3 comments
Labels
question Further information is requested

Comments

@grncdr
Copy link

grncdr commented Jul 11, 2024

This is in a Rails 7 project using Propshaft.

Our CI was set up to run rails assets:clean assets:precompile (as a single command) due to some older asset caching. However, if you run this in a fresh checkout (e.g. before app/assets/tailwind.css has been generated) there will be no tailwind.css in the resulting public/assets/.manifest.json nor public/assets/tailwind-[hash].css file.

Running rails assets:precompile alone does not exhibit this behaviour.

@flavorjones flavorjones added the question Further information is requested label Jul 11, 2024
@flavorjones
Copy link
Member

@grncdr Sorry you're having problems. I'll try to help.

I can't reproduce this with a fresh Rails 7.1.3.4 app created with

rails new foo -a propshaft -c tailwind

Is it possible for you to help me reproduce this so I can diagnose what's going on? Can you create a github repo that reproduces, or give me more information about your application?

@grncdr
Copy link
Author

grncdr commented Jul 14, 2024

Sorry for the brief report, it was late and I was just happy to have working CI again.

I will see if I can find some time to create a reproduction but I'm traveling at the moment.

@flavorjones
Copy link
Member

@grncdr OK, I'm going to close this for now, but will reopen if you can help me reproduce this! Thank you!

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

No branches or pull requests

2 participants