code: function reload() {
      var defer = q.defer();
  
      if (browserSync.active) {
          browserSync.reload();
          defer.resolve();
      } else
      startServer().then(defer.resolve);
  
      return defer.promise;
  }
docs: reload browserSync