adaptivecomputing/grails-external-config-reload — Issue #2: Support environment aware config slurping
Author: bluesliverx
Created: 2011-10-12 21:14:11+00:00
State: open

From bwilson:

We have now solved the issue by modifying your plugin. In grails.plugins.reloadconfig.ReloadConfigService, we imported grails.util.Environment and replaced

grailsApplication.config.merge(new ConfigSlurper().parse(configFile.text))

with

grailsApplication.config.merge(new ConfigSlurper(Environment.getCurrent().getName()).parse(configFile.text))