FileSystemWatcher vs polling to watch for file changes
I have seen the file system watcher fail in production and test environments. I now consider it a convenience, but I do not consider it reliable. My pattern has been to watch for changes with the files system watcher, but poll occasionally to catch missing file changes. Edit: If you have a UI, you can … Read more