ReloadOnChange stops after error in Load #486
Description
Version 1.0.0
Net: 4.6
I use the ConfigurationBuilder in a simple console application, nothing special
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
I use a worker to write my config value each second to the output.
Reloading works without problems, but if i save the config file with an error, even if i correct it later it stopps to reload.
but sometimes it happens even if don't save with errors, if i save to fast twice, or at a random number of config changes, maybe ~10.
the problem can be the same, by reading a partialy saved file.
i get no visible exception, but the reloadOnChange stopps.
This is a crucial issue for me cause im using this inside a windows service, and if the config dont change i need to restart the entire service, and its hard to see if changes happen or not.