Adding new changes in JS files, requires user to Clear Cache and Hard Reload everytime some changes are added

Hi, can someone please help me with a working solution for the following issue I am facing?

Whenever I make some changes in the code in the nextcloud files(generally .js files) and try to access the changes I made, I have to Open up the developer options and click on the ‘Clear Cache and Hard Reload’ option from the Reload button.

After doing the above, all the changes get reflected perfectly.

Is there any way that I don’t have to do this every single time?

If you only change a few JS-files and you know the calling position you can perhaps use this. You must only change the code at the calling positions. (not tested)