fix(watch): fix bug in snippet watch