Files
goodbuddy-shareserver/scripts/dev.mjs
T
lofyer 599a0a6645 docs: add workspace collaboration design and client demos
Document shared workspaces, realtime messaging, member handling, and source permissions. Include local interaction demos and verification scripts, and update development startup for Electron Node mode. Production collaboration services remain unimplemented.
2026-09-28 17:04:34 +08:00

11 lines
470 B
JavaScript

import process from 'node:process'
import { concurrently } from 'concurrently'
// Avoid CLI argv detection treating Electron's Node mode as a bundled app.
const { result } = concurrently([
{ command: 'npm run dev:api', name: 'api', prefixColor: 'cyan' },
{ command: 'npm run dev:web -- --host 127.0.0.1', name: 'web', prefixColor: 'magenta' }
], { killOthersOn: ['success', 'failure'] })
result.then(() => { process.exitCode = 0 }, () => { process.exitCode = 1 })