fix compile --watch command