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

hello, when i add more file in apps\frappe\frappe\public\js folder, and i run
bench --site [site] clear-cache and bench --site [site] migrate
frappe log only detects changes when I write to existing files in this folder, but new files I add do not compile.

How to fix this, thanks

bench build --force

If not work then restart the bench and check it.

@NCP thank you so much