Fixed an issue with file watch when deleting a file.