NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/@antv/data-set/bin/win-dev.js
2023-09-14 14:47:11 +08:00

15 lines
286 B
JavaScript

#!/usr/bin/env node
const shelljs = require('shelljs');
const exec = shelljs.exec;
const childWatch = exec('npm run watch', {
async: true
});
childWatch.stdout.on('data', data => {
if (data.indexOf('Hash') === 0) {
exec('npm run demos-web', {
async: true
});
}
});