DEV Community

Discussion on: Django with Tailwind (JIT) and Hot Reloading

Collapse
 
swdevbali profile image
Eko Suprapto Wibowo • Edited

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.

Collapse
 
aspraveen profile image
praveen

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:

  • "10000:10000" ( exact port you need to find)

I was able to fix the hot reloading in a sapper project as mentioned above

Thread Thread
 
swdevbali profile image
Eko Suprapto Wibowo

Right. Wasn't thinking that will be the case. Okay, checking that.

Thread Thread
 
swdevbali profile image
Eko Suprapto Wibowo

Well, it seems like it's not that trivial with docker: I found an open issue here: github.com/timonweb/django-tailwin...