Search code examples
grailsinternationalizationvaadindynamic-compilation

enable auto recompilation in grails vaadin project


I have a grails vaadin project. the auto recompilation feature used to work well until I began to use internationalization, since then I have to restart the server to recompile any change.

Any Idea ?


Solution

  • Looking at the watched resources section in VaadinGrailsPlugin.groovy (within the plugin) it's very clear that changes to the messages.properties files are not causing the plugin to reconfigure the way it dynamically handles i8n messages.

    Put simply the plugin (v 1.4) doesn't support reloading it's i8n methods when you change messages.properties.