Skip to content

Idea: suppress "Done in Xms" noise #121

@aidalgol

Description

@aidalgol

Since the tailwind 4.x update, the tailwindcss executable has become very noisy, printing Done in and then a duration (usually in the order of milliseconds or microseconds), often flooding IEx sessions (i.e. iex -S mix phx.server).

There was a discussion thread raised on the upstream project about adding a commandline flag to suppress this message, but that has had zero response from maintainers in the year since that was posted, so there does not appear to be much appetite to address this upstream. If I was running tailwindcss --watch directly from my own build scripts, I would try just piping it through grep -v '^Done in ', but since I am running it via the watcher provided by this package, trying to do it here first seems cleaner.

Would this project be open to adding a config option to filter the output of the tailwindcss executable?

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