public void registerForUpdates(Consumer<Config> listener){
  listener.accept(this);
  listeners.add(listener);
}

public void registerForUpdates ( Consumer < Config > listener ) { listener . accept ( this ) ; listeners . add ( listener ) ; }
the observer ' s update ( ) method will be called whenever the config file is changed and reloaded . the arg will be this config object .
