express
express copied to clipboard
Call callback once on listen error
This is a redo of #2623. Probably didn't need a new PR, but I took a new direction by using the once
module, and only binding to the error event. I think this is slightly more elegant than the previous PR. As discussed, this is a breaking change, so can only land in a 5.x branch.