I was trying to set up the latest Tailwind (JIT) option for my latest Django project.
Thanks to the Django-Tailwind package from Tim Kamanin, in le...
For further actions, you may consider blocking this person and/or reporting abuse
Woa, thank you for this! I was about to gave up after reading this: weautomate.org/articles/using-vite...
I really dislike heavy configuration before doing any real work!
Let me try this and report it after. Looks good!
Hm, I run this in a docker environment, all setup, but I can't seems to activate the hot reload. Attached is console output of
python manage.py tailwind start
I need to manually reload the browser for the changes tho.
Hi , This setup worked fine for me, but not on Docker .
I think you can do this on Docker by exposing the hot reloading port some thing like
ports:
I was able to fix the hot reloading in a sapper project as mentioned above
Right. Wasn't thinking that will be the case. Okay, checking that.
Well, it seems like it's not that trivial with docker: I found an open issue here: github.com/timonweb/django-tailwin...
First of all, thanks for the post and I'll try it out this week
Second, regarding the hot reloading on docker, if it's a network port issue, perhaps running the container with
docker run .... --network=host ...
might work as soon as i can try I'll update it
@swdevbali
Thanks so much for this article. Super helpful and easy. :)