Add build flag to block refresh of config