Skip to content

tailwind.css not being created on the first run when the directory doesn't exist #158

Closed
@pupeno

Description

@pupeno

I'm not sure if this the right place to report this bug, I'm not even sure if this is a bug.

I have a Rails 7 project created recently with the --css=tailwind option. At some point apparently I deleted app/assets/builds/.keep which caused the directory app/assets/builds to just not be created git clone. The odd result was this: when deploying to heroku, when heroku would run rake asset:precompile, it would silently not create the tailwind.css file. But if I open a shell and run it again, it would create it.

I posted on Stack Overflow, so there are more details there: https://stackoverflow.com/questions/71538223/tailwind-css-not-being-generated-in-a-rails-7-project-in-heroku/71607506

I'm sorry about the low quality of this bug report, I don't understand all the moving pieces, just the symptoms. Maybe this will be obvious to someone that understand things a bit better. If there's a way for me to provide more and better info, please ask and I'll do my best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions