The Windows FileSystemWatcher is not very well supported on other platforms than Windows.
To improve the compatibility of NLog on other platforms, then FileSystemWatcher should only be used when:
- Using NLog.config with AutoReload=True
- Using FileTarget with ConcurrentWrites=True.
Together with #3048 then NLog will work out-of-the-box without throwing exceptions by default.
The Windows FileSystemWatcher is not very well supported on other platforms than Windows.
To improve the compatibility of NLog on other platforms, then FileSystemWatcher should only be used when:
Together with #3048 then NLog will work out-of-the-box without throwing exceptions by default.