I.E. If I add a new class that I didn't already used, I have to restart the server to get it generated instead of getting it generated by TW through JIT.
The PostcssCompiler build step should be happening on each build. If you're not seeing that then there might be an issue with how the postcssOptions.compile.cacheInclude key is configured.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For some reason, it doesn't autogenerate classes.
I.E. If I add a new class that I didn't already used, I have to restart the server to get it generated instead of getting it generated by TW through JIT.
Any idea how to fix that?
I haven't seen that issue. Can you give an example of a class you're adding that isn't being generated?
dev-to-uploads.s3.amazonaws.com/up...
The
PostcssCompiler
build step should be happening on each build. If you're not seeing that then there might be an issue with how thepostcssOptions.compile.cacheInclude
key is configured.