Add watching feature with nodejs