Has someone managed to use JIT mode of tailwindcss with eleventy ? #1731
-
I installed tailwindcss 2.1 and tried to follow the docs : https://tailwindcss.com/docs/just-in-time-mode I set : But something like : Any idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think that's because the first command never ends (since it's watching files), so it will never execute the next command. How about using something like concurrently, then just run |
Beta Was this translation helpful? Give feedback.
I think that's because the first command never ends (since it's watching files), so it will never execute the next command. How about using something like concurrently, then just run
concurrently "eleventy --quiet --serve" "set TAILWIND_MODE=watch postcss assets/css/index.css -o _site/assets/css/index.css -w"
?