You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
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.