Skip to content

Watch script doesn't rebuild after creating new file #9710

@josecarlosrx

Description

@josecarlosrx

What version of Tailwind CSS are you using?

3.2.1

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

Create React App

What version of Node.js are you using?

16.14.2

What browser are you using?

Chrome

What operating system are you using?

Windows

Reproduction

module.exports = { content: ["./src/app/**/*.{html,js}"], theme: { // ... }, };

Describe your issue

I'm using tailwindcss without postcss. It works fine. The output CSS file is generated every time JS files are saved. The problem happens when I create a new JS file: the "watch" script stops working, it doesn't rebuild the output CSS anymore.

It's working ok with version 3.1.8 though.

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