I have this file
"applications\abc\dev\js\admin\controllers\configuration\ips.configuration.form.js"
which I load via
$form = new Form('form', 'save', NULL, array('data-controller' => 'abc.admin.configuration.form'));
Now I face some problems:
1. When I turn off dev mode, the file doesn't load at all.
2. Sometime it loads, but it keep showing the old cached version.
3. I compile it and then create a new version. After that, I upgrade the production with the new archive. But production doesn't load the JS at all. I have to enable dev mode in production, compile JS, and clear cache in support page several times, and then it works.
How to fix this strange behavior?