2

I am creating a website and I was designing it without a repository set up originally. Now, I have it in a git repo and suddenly, when I try to refresh the page (with dev tools open and cache disabled) my CSS and HTML changes have no affect. I have to stop the server, close the webpage, then re-run the server and open it again to see changes. Anyone experienced this? Not sure what gives.

2
  • This almost certainly has nothing to do with the presence of a Git repository. Commented May 2, 2021 at 14:14
  • Yes I see that, I answered my own question below. Commented May 2, 2021 at 22:00

1 Answer 1

1

I'll answer this myself. Classic correlation does not equal causation. The reason that this was not working was because I had set my debug to False in settings.py when I added it to git repo (because I was deploying it). Once I set it to true it updates every time now.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.