Hi,
- The
TMiletusFileWatcher
is for monitoring files that are already existing. However, the exception should not be raised so we applied an improvement. If a file does not exist it will still be "monitored". TheOnChange
event will trigger as soon as the file is created and after that whenever the file changes. - An extra pair of backward slashes were added to the path and that prevented the event from triggering. We've applied a fix for this too.
Both changes will be available with the next update.