开发者

Grails - Externalized Configuration Restart

If I external开发者_StackOverflowize 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.


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


Chiming in late here, but there's also

http://www.grails.org/plugin/external-config-reload

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜