Compile code when i add custom file in frappe/public not work

bench build --force

If not work then restart the bench and check it.