watchFileThrottle(filepath, cb) {
    const time = Date.now();
    if (
      !this.watchFileThrottling[filepath]
      || time - this.watchFileThrottling[filepath] > 300
    ) {
      this.watchFileThrottling[filepath] = time;
      cb(filepath);
    }
  }
/**
   * throttle for watch file diff
   * @param filepath
   * @param cb
   */
throttle for watch file diff
@param filepath
@param cb
throttle for watch file diff @param filepath @param cb
watchFileThrottle(filepath, cb) {
    const time = Date.now();
    if (
      !this.watchFileThrottling[filepath]
      || time - this.watchFileThrottling[filepath] > 300
    ) {
      this.watchFileThrottling[filepath] = time;
      cb(filepath);
    }
  }
watchFileThrottle ( filepath , cb ) { const time = Date . now ( ) ; if ( ! this . watchFileThrottling [ filepath ] || time - this . watchFileThrottling [ filepath ] > 300 ) { this . watchFileThrottling [ filepath ] = time ; cb ( filepath ) ; } }
throttle for watch file diff
 @param filepath
 @param cb
throttle for watch file diff @param filepath @param cb