add a watch module when pid is specified