rename reloadWhenConfigFileChanged to restartWhenConfigFileChanged