After each bench update list.css and page.css are modified

Hi all,

I have an issue with an ERPNext v10.1.56 (master) / Frappe Framework: v10.1.50 (master): every time I run

$ bench update

it fails with changes in ./apps/frappe. The changes are

modified: frappe/public/css/list.css
modified: frappe/public/css/page.css

So I reset the changes with

$ cd apps/frappe
$ git reset --hard

and perform the update (which works), but instantly applies the changes again.

Any idea what is going wrong?

I believe There is a server side cache for the built assets. So each time there is any change (first time you update there is a change in the built resources, second time you revert the changes again the css is different than the built css) hence I believe the case.

Let me know if you have different observations…


Parth Joshi

Hi @joshiparthin,

thanks for your input. Is it normal that the build process would affect any files in the ./apps folder? In my opinion it should not…

Maybe worthwhile to note that this is observed in a develop instance… But I still haven’t figured out why…