Fix watch js build bug