What should be done so any folders created in canvasApp/js were watched? Currently, there is only one folder - controllers. I’d like to add, for example, services and directives.
We will look into this soon.
In the meantime, a temporary solution would be to update the WEB-INF/wro.xml file. Add or update a group in there and add the new group you have added it into the header.library.ftl file.
Note that this is temporary as the wro.xml is one of the Canvas system files and is overwritten during upgrades.
Will this be a valid amendment?
<group name="client"> <js>/js/controllers/*.js</js> <js>/js/directives/*.js</js> <js>/js/services/*.js</js> <css>/css/*.css</css> </group>
That looks alright. Just always test out all your changes.