Include custom JS file

hi, I am trying to include custom js files via include custom file /home/frappe/frappe-bench/apps/frappe/frappe/hooks.py but for some reason they won’t update on the update despite restarting, etc

bench clear-cache did the trick, wonder why it won’t automate as I am in developer mode.

You need to manually clear cache when you change hooks. That is the design