Skip to content

Watch does not track imported CSS files #586

@fogzot

Description

@fogzot

When using Tailwindcss it is common to split the CSS over multiple files (for example we have colors.css, tokens.css, etc.) Curently cargo leptop watch regenrates the CSS only when the main CSS file changes and completely ignore '@import`'ed CSS files.

I tried to use the watch-additional-files option but I did not found a way to force a reload when one of the imported files changes.

It would be nice if cargo leptos watch could track all CSS files when building using Tailwind.

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