- Go backend (server/)
- Frontend (web/, server/static/)
- Database and deployment files
- Scripts and docs
Co-Authored-By: 狸花猫/Claude-Qwen3.6-Plus 🐾
15 lines
286 B
JavaScript
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
|
|
});
|
|
}
|
|
});
|