-1

The problem is as follows: If I make changes to HTML / CSS, I have to re-build the project (django) so that I can refresh at DOM. If I make changes to the .py files, it is rebuilt automatically.

What can I do to rebuild them automatically when I make changes to HTML / CSS?

rebuild = python manage.py runserver

to be updated i need to make rebuild like in the image: here

Solved. Solution? django-livereload-server (https://github.com/tjwalch/django-livereload-server)

Elisei Nicolae
  • 293
  • 2
  • 12

1 Answers1

0

Since you're using HTML/CSS as the Templates, a simple refresh must do the trick. If it doesn't work, try Clear Cache + Hard Reload On Chrome: Ctrl + Shift + I to open Dev Tools, right-click the reload button and select the option.

DevangK
  • 11
  • 1
  • 1
  • Nop, doesn't work. Check the image. I need a rebuild (python manage.py runserver) to work. How can i make the "python manage.py runserver" every time when i make changes to html with f5? – Elisei Nicolae Apr 06 '21 at 13:40