rocker
rocker copied to clipboard
Recursively regenerate all template files to detect errors early ?
I'm currently using dynamic interface + rendering approach to speed up my process development.
And from time to time, i'd be refactoring classes into different packages, or diff names, or method names can also be refactored. But when we forgot to change those in the templates, the error can be known only when we access the page.
Is there a convenient way, for example a maven plugin, that will try to regenerate and recompile all template files, ending with .rocker.html, so that we can see the error messages right away in the IDE ?
There may be IDE-specific ways of re-running Maven goals on code changes. If you figure this out, a quick write up we could share with others in the README could be awesome.