Open pySilver opened 2 years ago
hi, thanks for your feedback. Could you please provide a repo to reproduce it, thanks a lot
@await-ovo thanks for response. here it is: https://github.com/pySilver/tailwindcss-webpack-plugin-bug
Hi @pySilver , This should be fixed in tailwindcss-webpack-plugin@0.0.7
. You can see if there are still problems on your side.
@await-ovo thanks. Looks like its working now! :)
@await-ovo I was a little too fast. For some reason it wasn't working initially, then it after couple of browser reloads it clicked in but at the end it doesn't work. OK sounds like a mystery. What I'm seeing is bunch of empty classes injected into header. So devtools suggestions works but as classes are empty there is no useful outcome: https://share.cleanshot.com/nk3owO
@await-ovo I was a little too fast. For some reason it wasn't working initially, then it after couple of browser reloads it clicked in but at the end it doesn't work. OK sounds like a mystery. What I'm seeing is bunch of empty classes injected into header. So devtools suggestions works but as classes are empty there is no useful outcome: https://share.cleanshot.com/nk3owO
@pySilver Yeah, The empty classes is just for auto completion, it should generate a new class on demand when you changing class name in devtools. This is based on webpack HMR.
What I'm confused about is how HMR works in laravel-mix
, After run yarn hot
, i changed the content of src/js/app.js
under the repository you provided, then the browser automatically reload, but the content is not up to date, is this also the case on your end?
Yes. Unfortunately it is. I've followed instructions posted here but still no luck: https://laravel-mix.com/docs/6.0/hot-module-replacement#basic-usage-in-laravel
Hi!
I'm just trying to make it work with basic Laravel Mix (webpack warpper) setup and it fails with: