Place water, sugar, cornstarch, cinnamon, salt, and nutmeg in a medium saucepan. Stir to combine then bring to a boil over medium heat, stirring often. Once the mixture boils, boil it for two minutes. Add the apples, turn to a simmer, and cover. Cook, stirring often, until the apples soften, about 5-8 minutes.