How do I clear or disable cache? (erpnext/frappe)

Hi there,

I am modifying a front-end template and cannot get my change to appear. How do I clear all cache? I am developing a feature against ERPNext and would like to be able to disable caching if possible.

Please advise,

David

You need to rebuild the JS files after changing.

Use bench build

or bench watch to automatically rebuild on change.

4 Likes

Got it, thank you @rmehta. Thinking of adding a --develop flag to bench start to automatically kick that job off too!

1 Like

excellent thanks ==> bench watch ^^