修改了filewatcher的运行方式，不再让其循环

Signed-off-by: xinyue Shi <sxyloading@gmail.com>