Skip to content
Discussion options

You must be logged in to vote

Seems like ConfigurationBuilder uses FileSystemWatcher to detect changes on configs. And it can fire events with some delay and not immediately after a file was written. You can see that by simply adding Thread.Sleep(500); after File.WriteAllText

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DrkWzrd
Comment options

Answer selected by DrkWzrd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants