index.js
function runHook (instance, type) {
  var hook = type ? 'response' : 'request'
  hook += 'Hook'
  if (instance[hook] && isFunction(instance[hook])) {
    instance[hook]()
  }
}
function runHook (instance, type) {
  var hook = type ? 'response' : 'request'
  hook += 'Hook'
  if (instance[hook] && isFunction(instance[hook])) {
    instance[hook]()
  }
}
function runHook ( instance , type ) { var hook = type ? 'response' : 'request' hook += 'Hook' if ( instance [ hook ] && isFunction ( instance [ hook ] ) ) { instance [ hook ] ( ) } }
Every time it is detected, it means that the external dynamic changes
Every time it is detected it means that the external dynamic changes