仪表盘
版本库
文件存储
活动
搜索
登录
WI
/
Web.Admin.V1.0
后台
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
d
yangyin
2024-09-09
207cc0331002882db712fa2edc8701081f987108
[WI/Web.Admin.V1.0.git]
/
scripts
/
dev.js
1
2
3
4
5
6
7
8
9
10
11
const { copyFile, checkCustomer, firstCustomerName, isPro,changeBranch } = require('./helper');
const { execSync } = require('child_process');
changeBranch();
checkCustomer('npm run dev', firstCustomerName);
copyFile();
try {
execSync('vite', { stdio: 'inherit' });
} catch (error) {}