Edit realm.js script Keycloak

Im adding an additional function in the script realms.js of keycloak located in themes/base/admin/resources/js/controllers/realm.js. (Using keycloak-legacy-18.0.2).

The problem is that when i restart the server i cannot see the changes in the script in the browser.

I tried disabling theme cache in standalon.xml, but it has does nothing apparently.

        <theme>
            <staticMaxAge>-1</staticMaxAge>
            <cacheThemes>false</cacheThemes>
            <cacheTemplates>false</cacheTemplates>
            <dir>${jboss.home.dir}/themes</dir>
        </theme>

Thanks in advance