Quote:
Originally Posted by kovidgoyal
This should be easy to fix by simply using atomic writes for the config file. i.e. have the code that writes the config file write to temp file and rename the temp file to the original after the write is complete.
The file system watcher should notify you about the rename and you are guaranteed that when the rename arrives, the file contents are updated.
|
Thanks much for the suggestions, Kovid.