Add the water, butter, and salt to a medium saucepan over medium heat. Once the butter is melted, remove the pan from the heat and stir in the flour all at once. Turn the heat down to low and return the pan to the heat. Cook until the dough forms a ball and leaves a residue on the bottom, about 2 minutes, stirring constantly.