Skip to content

CLI --watch not working in docker #5324

@ShaneBurkhart

Description

@ShaneBurkhart

What version of Tailwind CSS are you using?

2.2.8

What build tool (or framework if it abstracts the build tool) are you using?

Vanilla CLI

What version of Node.js are you using?

12

What browser are you using?

Chrome

What operating system are you using?

MacOS

Reproduction repository

Compile in docker using cli with watch without a tty

Describe your issue

A recent update made changes to detect if there is a stdin or not when watching. With docker, there is no stdin when using something like docker-compose up. The process exits with code 0.

For now, I am going back to 2.2.7. I might be able to spoof stdin for my container. Still working on that.

Here is the code that is causing the issue.

Screen Shot 2021-08-27 at 6 58 29 PM

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