3daddict / themekit-webpack

(Legacy) Shopify Themekit with Webpack and TailwindCSS
MIT License
58 stars 10 forks source link

TailwindCSS JIT Webpack HMR keeps recompiling with themekit #64

Open 3daddict opened 3 years ago

3daddict commented 3 years ago

Hi @felixmosh! I hope you are doing good. I have been trying to figure out why the webpack dev server keep recompiling over and over again with this latest PR to add JIT with TailwindCSS #63

If you have a moment can you check it out and let me know what you think? https://stackoverflow.com/questions/68109582/tailwindcss-jit-webpack-hmr-keeps-recompiling-with-themekit

The dev server and HMR has been working great!

felixmosh commented 3 years ago

Hi, I'm all good.

Maybe it is related to https://tailwindcss.com/docs/just-in-time-mode#styles-rebuild-in-an-infinite-loop?

3daddict commented 3 years ago

Thanks @felixmosh leave it to me to not read the whole doc on JIT. Thanks for pointing that out. I have been testing some things around not being able to use the nested glob directories. Still haven't found a working fox but I'll keep at it. Have a great weekend!