I have multiple production erpnext instances (dns based multitenancy) running on a server. I have made some changes to the code, added a few files in erpnext app (not done as a new app because the change is minor one) and modified the hooks.py file.
The problem is the changes made as such are seen in 1 instance of erpnext while other instances do not show the changes. The file added via hooks.py is loaded in 1 instance and not loaded in other instances.
I realized that it must be browser issue and so I tried private browsing mode, switched browsers, and tried clearing browser cache by Ctrl + Shift + R. Nothing worked.
No. Did not try that.
Tried bench clear-cache → Did not work bench --site example.com clear-cache → Worked