fixed inotify issue! cool!

Signed-off-by: Hongyi Jia <Hongyi.Jia.GR@dartmouth.edu>