1. Prepare the Pastry: Combine the flour, sugar, and salt in a mixing bowl. Rub in the cold butter until the mixture resembles breadcrumbs. Add the egg and cold water gradually, mixing until a soft dough forms.
2. Chill the Dough: Shape the dough into a disc, cover it, and refrigerate for 15–20 minutes.
3. Make the Coconut Filling: In a saucepan over medium-low heat, combine the grated coconut, brown sugar, evaporated milk, and butter. Stir until the sugar dissolves and the mixture becomes slightly thick.
4. Add Flavourings: Remove the saucepan from the heat. Stir in the vanilla, cinnamon, nutmeg, flour, beaten egg, and a pinch of salt. Allow the filling to cool slightly.
5. Assemble the Tart: Preheat the oven to 180°C (350°F). Roll out the pastry and press it into a greased 9-inch tart pan. Trim the edges and prick the base lightly with a fork. Spread the coconut filling evenly over the pastry.
6. Bake and Serve: Bake for 25–30 minutes, or until the pastry is golden and the filling is set. Allow the tart to cool before slicing and serving.