Preheat the Oven: Set your oven to 350°F (175°C). Grease a 9-inch pie dish.
Mix The Dry Ingredients: In a large bowl, whisk together the coconut flakes, flour, sugar, baking powder, and salt.
Add Wet Ingredients: Beat the eggs in a separate bowl. Add the milk, vanilla extract, and melted butter to the eggs, mixing well.
Combine: Pour the wet ingredients into the dry ingredients. Stir until just combined.
Bake the Pie: Pour the mixture into the prepared pie dish. Sprinkle the top lightly with nutmeg if desired.
Baking Time: Bake for 35 minutes or until the top is golden and the center is set.
Cool and Serve: Let the pie cool before slicing. Serve it warm or chilled, as per your preference.