       previousConfig = @_remoteConfig
       @_remoteConfig = assign({}, @_remoteConfig, hash)
     @onUpdate() unless _.isEqual(previousConfig, hash)
-    
+
 
   get: (key)=>
     hash = clone(@_clientConfig);


  set: (config, key)->
    if key? then @_clientConfig[key] = config else @_clientConfig = config
  
  setSettings: ()->

  setRemote: (hash, key)->

        config = { only: (m.toString() for m in config.only) }
      else if config.ignore?
        config = { ignore: (m.toString() for m in config.ignore) }
      else
        config
    when "RegExp"
      config = { only: config.toString() }
