modify is_watch_file func
ensure uniqueness of res_info and res_hash according to filepath
add remove_res func