OverviewFilesCommitsIssuesDocsReleasesPeers

godot-keet / daemon / start.js

12 lines · javascript ref:
// Standalone daemon launcher (no Godot)
// Usage: bare daemon/start.js [--debug]
import { startDaemon } from 'keet-daemon'

const args = Bare.argv.slice(2)
const debug = args.includes('--debug')

startDaemon({ debug }).catch(err => {
  console.error('FATAL:', err.message)
  Bare.exit(1)
})