-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Template files are not watched #76
Comments
Hi @cah4a Can you share your windi and webpack config, ideally with a replication repo. Thanks |
Also, I don't think windi supports twig, only pug at the moment 🤔 Happy to look into this further but I'll need a reproduction repo, will close until there is one. |
@harlan-zw I have the same issue with Edge templates (using Adonis & Webpack). I have created a reproduction repo here: https://github.com/thetre97/adonis-windicss-webpack
Then install deps & run the I have tried using Tailwind, and it works correctly with that, so am presuming it is a Windi issue - it's maybe not specifically this plugin, as I have also tried the |
When I change a template file nothing happens.
I'm using webpack and twig as a template engine.
I've tried both
windicss-webpack-plugin
andpostcss-windicss
.The behavior is the same for both of these integration methods:
It extracts only on startup and never runs extraction again.
I understand that webpack doesn't know about my templates, so I've added 'webpack-watch-files-plugin' to trigger rebuild.
Any workarounds in that case?
The text was updated successfully, but these errors were encountered: