code: function removeFile(q) {
        if (!q.length) {
          process.send(true);
          return;
        }
  
        const file = q.shift();
        rimraf(path.resolve(paths.output, file), { read: false }, () => {
          removeFile(q);
        });
      }
docs: remove file by passing shorter queue