Put the butter, brown sugar, vanilla, cinnamon, nutmeg, and salt in a medium-size pan or pot and heat over low heat while whisking until the butter is melted and the mixture is combined.
Bake in the oven at 375° for 45, remove from the oven, stir and place back in the oven for another 45 minutes or until the yams or sweet potatoes are very tender.