The importance of frequent siring can't be over emphasized both on the stove top and in the oven.
When stirring in the oven, make sure to use a long spatula and oven mitts.
When the coconut flakes is completely coated to your taste remove pan or baking sheet away fro source of heat. you can leave the flakes in the baking sheet for the oven toasted coconut flakes if you toasted it on a baking sheet but if you toasted with a cast iron skillet either on the stove top or oven, you will need to transfer it to a baking sheet after removing skillet from source of heat because the skillet retains heat soy the coconut flakes will continue to toast.