In a bowl, mix together the flour, granulated sugar, salt, and instant yeast.
In a separate bowl, whisk the warm milk, melted butter, egg, and vanilla extract until well combined.
Gradually combine the wet ingredients with the dry ingredients and knead until a soft dough forms (about 5-7 minutes).
Place the dough in a greased bowl, cover with a clean towel, and let it rise in a warm area until it doubles in size (about 1 hour).
Once risen, punch down the dough and roll it out into a rectangle (about 12x8 inches).
In a small bowl, mix the brown sugar, cinnamon, nutmeg, chopped pecans, and raisins (if using).
Spread the mixture evenly over the rolled-out dough, then start rolling the dough tightly from the longer side to form a log.
Cut the log into 12 equal pieces and place them into a greased baking dish.
In a saucepan, heat the maple syrup and remaining butter over medium heat until melted and slightly thickened. Pour over the prepared buns in the dish.
Preheat your oven to 350°F (175°C). Allow the buns to rise again for about 30 minutes while the oven heats up.
Bake the sticky buns for 25-30 minutes, or until golden brown. Allow to cool for a few minutes before inverting onto a serving plate.
Notes
Drizzle extra maple syrup over the top before serving and garnish with whole pecans for an appealing touch. Serve warm for the best texture and flavor!