Fixed issue which caused notice to be thrown when a watched file was deleted.