rocker icon indicating copy to clipboard operation
rocker copied to clipboard

Recursively regenerate all template files to detect errors early ?

Open albert-kam opened this issue 5 years ago • 1 comments

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 ?

albert-kam avatar Jan 03 '20 15:01 albert-kam

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.

jjlauer avatar Jan 07 '20 15:01 jjlauer