constructor(paths, ignorePaths) {
    if (Array.isArray(paths)) {
      this.paths = paths;
    } else {
      this.paths = [paths];
    }
    //Ensure all backwards slashes are replaced with forward slash based on the requirement from chokidar
    for (const pathIndex in this.paths) {
      const path = this.paths[pathIndex];
      this.paths[pathIndex] = path.replace(/[\\]/g, '/');
    }
    this.fsWait = false;
    this.watchers = {};
    this.filesChanged = {};
    this.ignorePaths = ignorePaths;
  }
Class to watch for change in certain file(s)