Use Dir.glob instead of Dir.entries to work around bug when files are deleted  shortly after method invocation.
Use Dir.glob instead of Dir.entries to work around bug when files are deleted 
shortly after method invocation.

Read more: https://github.com/guard/guard/issues/31
nex3/rb-inotify,zBMNForks/rb-inotify,montj2/rb-inotify