Reputation: 22580
If I externalize part of my Grails configuration, must I restart my container for the change to be found? Is there any workaround to this if so? Thanks.
Upvotes: 1
Views: 697
Reputation: 232
Chiming in late here, but there's also
http://www.grails.org/plugin/external-config-reload
Upvotes: 0
Reputation: 75671
No, there's no automatic watch for changes to external config files. There's a good solution here that involves making a controller request to trigger a reload: http://jetlet.blogspot.com/2011/02/reload-external-config-file-dynamically.html
There's also this plugin, which looks like it hasn't been updated in a long time and may not work: http://www.grails.org/plugin/reloadable-config
Upvotes: 3