can't log in to local host
Hi,
When switching between branches i sometimes get an issue where i cant log in and the styling looks weird:

When i click sign in i get this url and this screen:
http://localhost:4502/libs/granite/core/content/login.html/j_security_check

When i checkout into the branch that was working before, i get these errors too so it's not a problem with my branch.
In the past i have fixed this issue by deleting the CRX and rebuilding but this can be a massive time sink and it would be great to stop this happening.
I cannot log into CRX i cannot access the sling logs or the config manager.
Any help would be great.
Thanks,
Karl