code: function watch(glob, taskName)
   {
      var watcher = chokidar.watch(glob, {persistent: true,});
      watcher.on('ready', ()=>
      {
          watcher.on('all', (event, path)=>
          {
              invokeTask(taskName);
          });
      });
   }
docs: Watch files and then invoke a task