Fixed issue with hot reloading of config file