Preheat the oven to 350˚F. Line 2 rimmed baking sheets with parchment paper or silicone mats.
In the bowl of a stand mixer (or a large mixing bowl using an electric hand mixer), beat butter and sugars together until light and fluffy. This will take about 2 minutes. Add egg and vanilla, beating until combined.
1/2 cup butter, 1/2 cup granulated sugar, 1/2 cup brown sugar, 1 egg, 1 1/2 tsp vanilla extract
In a separate bowl, sift together the baking soda, salt, cinnamon, nutmeg, and flour.
1/2 tsp baking soda, 1/2 tsp salt, 1/2 tsp cinnamon, 1/4 tsp nutmeg, 1 1/2 cup flour
Add the sifted dry ingredients to the bowl of the stand mixer. Beat until just combined, do not over mix. Stir in shredded coconut and chopped pecans until combined.
3/4 cup shredded coconut, 1 cup pecans
Form the dough into 1 1/2 Tbsp balls. Place on baking sheets, spacing them apart about 2 to 3 inches.
Bake for 10 to 12 minutes, until the edges are set. The tops will look a little under-baked, but that's ok. The tops should not get golden brown, or else they will be dry and over-baked.
Let the cookies cool on the baking sheets for 10 minutes before removing to a wire rack to cool completely.
Store for up to 4 to 5 days at room temperature in an airtight container.