Skip to content

CPU usage spikes to 700% on arm64-darwin after updating to tailwindcss-rails 4.4.0 #594

@tatsukikitamura

Description

@tatsukikitamura

Running bin/rails tailwindcss:watch causes extremely high CPU usage (around 700%) on an arm64-darwin (Apple Silicon) machine after a recent update.

This issue started occurring after upgrading:

tailwindcss-ruby from 3.4.17 to 4.1.16

tailwindcss-rails from 3.3.2 to 4.4.0

The previous versions did not exhibit this behavior.

Environment

・tailwindcss-rails: 4.4.0
・tailwindcss-ruby: 4.1.16 (arm64-darwin)
・Rails: 8.0.3
・Ruby: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin25]
OS: macOS (Apple Silicon / arm64)

Image

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