Skip to content

Standalone CLI watch not working in the Docker dev container, but works (albeit with some quirks) on WindowsΒ #18118

Open
@gremo

Description

@gremo

Tailwind CSS CLI v4.1.7 Windows 11 x64 seems to work "fine". Editing templates/test/index.html.twig:

Tailwind CSS CLI on Windows

  1. Add text-2xl, the class is added to the output βœ…
  2. Change the class to font-bold, the class is added but previous text-2xl isn't removed πŸ›‘

This is intended behavior β€” like a kind of history or cache β€” where previously 'seen' classes are never removed?

The main issue I'm facing β€” however β€” is running Tailwind CSS CLI in a Docker container Debian 12 (bookworm) x86_64: isn't working at all, no class is added to the output:

Tailwind CSS CLI on Docker

Node v22.16.0, very basic CSS file:

// assets/styles/app.css
@import 'tailwindcss' source("../../templates");

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