Detecting configuration changes in code