pgserve 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -65,10 +65,11 @@ if (__subcommand && __installSubcommands.has(__subcommand)) {
65
65
  process.exit(typeof result === 'number' ? result : 0);
66
66
  }
67
67
  if (__subcommand === 'serve') {
68
- // Alias `serve` `daemon` so the wish's canonical command name maps
69
- // cleanly to the existing long-lived process. Replacing argv preserves
70
- // any flags the operator (or pm2) passed after `serve`.
71
- process.argv[2] = 'daemon';
68
+ // pgserve singleton (v2.4): the bun-proxy daemon mode is gone. `serve`
69
+ // now aliases to `postmaster` — the direct postgres-supervision entry
70
+ // point. Replacing argv preserves any flags the operator (or pm2) passed
71
+ // after `serve`.
72
+ process.argv[2] = 'postmaster';
72
73
  }
73
74
 
74
75
  // Detect platform