fix firefox `watch` bug