def load(config, watch: true)
      case config.class.to_s
      when 'Hash'
        self.merge!(config)
      when 'String'
        self.merge_yaml!(config, watch)
      else
        raise ArgumentError.new('Could not load config.')
      end

      check_deprecated
      check_warnings

      self
    end
def load(config, watch: true)
      case config.class.to_s
      when 'Hash'
        self.merge!(config)
      when 'String'
        self.merge_yaml!(config, watch)
      else
        raise ArgumentError.new('Could not load config.')
      end

      check_deprecated
      check_warnings

      self
    end
Declare callback for changed config.
 Merges a Hash or YAML file (containing a Hash) with itself.