adding watch and compile