You mean an arc welder power supply solidly connected to heavy duty mains and the other end probably charging a giant capacitor? Discharging into essentially a short circuit? And you're surprised there is a flash? Oh wonderment!
PS: what in the world do you think THAT silly and dangerous kludge really is? quantum magic perhaps?