PostCSS plugin doesn't watch tailwind.config.js file for changes #2130
Unanswered
hdodov
asked this question in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use
snowpack@3.0.0-rc.2
and@snowpack/plugin-postcss@1.0.11
to build my Tailwind CSS project.snowpack.config.js
postcss.config.js
Script
I use
cross-env
because I'm on Windows.Everything works fine, except for changes to
tailwind.config.js
- they don't trigger a rebuild of mysrc/index.css
file. So when I make a change to the config file, I have to re-saveindex.css
and trigger a build, which then reflects the config file changes.Is there a way to flag the config file as a dependency of
index.css
so that changes to it would trigger a rebuild?Beta Was this translation helpful? Give feedback.
All reactions