Skip to content

Tailwind hot-reload not triggering asset update #135

@nshoo

Description

@nshoo

Built-in tailwind support is great! I have run into one issue, though, where updates to tailwind styling sometimes aren't immediately displayed by the hot-reload system.

It seems that the rebuilt app.css from the tailwindcss cli doesn't trigger an asset-update websocket event because it's in the build/dev folder and the file watcher is watching src/app.css. This leads to tailwind styling lagging behind the rest of the page hot-reload updates, especially when using styles that aren't already compiled to the stylesheet, requiring a manual reload. This can be avoided by spamming save several times, but adds an annoying amount of uncertainty.

Thanks!

llustre_dev_tools: v2.1.3
OS: MacOS 15.6

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