Fixed a bug where modifying files directly in the monitored root path was causing an exception