Skip to content

TAILWIND_MODE=watch doesn't work #6702

@hivokas

Description

@hivokas

What version of Tailwind CSS are you using?

3.0.7

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

vite 2.7.6, vue 2.6.14, vite-plugin-vue2 1.9.0

What version of Node.js are you using?

16.13.0

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction URL

https://github.com/hivokas/vite-vue2-jit-issue

Describe your issue

There is an issue opened by @adamwathan in underfin/vite-plugin-vue2 repo: underfin/vite-plugin-vue2#153.

I understand that there is a problem with this plugin, but there is TAILWIND_MODE=watch and I suppose it should work as a temporary workaround. However, it doesn't work when I run TAILWIND_MODE=watch vite. Is it possible to make it work? It might help people who struggle with environments which don't support JIT out of the box.

Thank you for your work on TailwindCSS!

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