code: function(bs, data) {
          if (canLogFileChange(bs, data)) {
              if (data.path[0] === "*") {
                  return logger.info(
                      "{cyan:Reloading files that match: {magenta:%s",
                      data.path
                  );
              }
  
              logger.info(
                  "{cyan:File event [" + data.event + "] : {magenta:%s",
                  data.path
              );
          }
      }
docs: Log when a file changes
  @param {BrowserSync} bs
  @param data