Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Tailwind JIT not working #24

Open
jonmh85 opened this issue Nov 9, 2021 · 2 comments
Open

Tailwind JIT not working #24

jonmh85 opened this issue Nov 9, 2021 · 2 comments

Comments

@jonmh85
Copy link

jonmh85 commented Nov 9, 2021

Does this setup work with tailwinds JIT mode?

I have tried adding the mode to the tailwind config and also tried adding TAILWIND_MODE=watch to the dev env file but neither seem to work. when JIT is enabled tailwind class changes are only visible in the browser if i restart the dev server.

@jonmh85
Copy link
Author

jonmh85 commented Nov 11, 2021

I can see that if I change the static asset location to src rather than dist it does detect the tailwind jit changes and pushes to browser. Maybe css needs to be processed differently for dev and build.

@wmonecke
Copy link

@jonmh85 Did you find a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants