yeah, the key is to build the dispenser first, preferably behind where you want to put the turret, then you can just hide back there, swinging the wrench to repair both, and get your health refilled by the dispenser while your turret kills the bad guys