Aria Templates Forums
[OPEN]Debug tools: reloading of the controller - Printable Version

+- Aria Templates Forums (http://ariatemplates.com/forum)
+-- Forum: Public forums (/forumdisplay.php?fid=3)
+--- Forum: Mid & long term evolutions (/forumdisplay.php?fid=6)
+--- Thread: [OPEN]Debug tools: reloading of the controller (/showthread.php?tid=130)



[OPEN]Debug tools: reloading of the controller - jakub-g - 26 November 2013 11:13

In debug tools, we can reload a template/templatescript/css, and sometimes also a module controller.

Current state of affairs is (reading from the doc and code) that module controller can be reloaded only if it's a submodule.

https://github.com/ariatemplates/ariatemplates/blob/master/src/aria/templates/ModuleCtrlFactory.js#L745
https://github.com/ariatemplates/ariatemplates/blob/master/src/aria/tools/contextual/ContextualDisplay.tpl#L41

My question is, would it be possible to always have the possibility to reload the submodule? It is rather impossible / would require a lot of effort, or just was moved as "consider doing this later"?

I think it'll be of a big usefulness for the developers because the controller changes as often as the tpl script during the development. Looking forward to the comments.