I you use the proper equipment you shouldn’t have a problem.
Number One: Use a delivery hose that is MADE for Gasoline. It will be so-labelled on it’s outside. That hose will be constructed of materials suitable for gasoline and will be conductive to handle static. Do Not Use hoses not made and labelled for gasoline-delivery.
Two: keep the nozzle of the spigot/handle touching the edge of the filler-neck continuously while pumping gasoline. This will prevent a build-up of static differential.
Three: Stay physically connected/touching the delivery equipment while refueling. Moving away and returning exposes yourself to the possibility of static-differential and discharge. (This is why signs at gasoline stations warn against leaving the pump and re-entering your car and then returning. Your synthetic clothing, the synthetic upholstery of the car, and your movement can create static, and only needs for you to return to grab that delivery-handle awash in gasoline vapors at the filler-neck to have a dangerous spark/explosion.