fix watch bug

fix the bug:  watch the same file many times.