I've used flashlights, it works fine except for narrow beam, more hassle recharging, and seems like in the way a little more. I've never had a mount fail or even slip, but my DIY on that is a little more robust than the commercial ones.
The flip side is that the cheap bike lights are less expensive, more convenient and cast a broader beam so my only use now for the flashlight is as a backup.