I use the following code to install my VCD file ("grammar") into Cortana:
Windows.ApplicationModel.Package.current.installedLocation.getFileAsync("VoiceCommandDefinitions.xml")
.then(Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinitionManager.installCommandDefinitionsFromStorageFileAsync)
.then(() => Debug.writeln("Successfully installed VCD file");
Success is reported, but when I write a query into Cortana, the changes I've made to my VCD file aren't reflected in Cortana.
How can I force Cortana to actually use my updated grammar?