Files
pokemon-showdown-loginserver/config/pm2-example.config.cjs
Guangcong Luo 4d0c145f69 Switch to Node built-in TypeScript support
Unfortunately I never figured out a less ugly method than renaming
the config files to `.cjs`. Except migrating the old config file
to modules, which I'm not really into at the moment.

The rest is not a problem.
2026-07-16 19:16:17 -07:00

10 lines
201 B
JavaScript

// apparently PM2 will try to load Bun, then fall back to ts-node
module.exports = {
apps: [{
name: "loginserver",
script: "./src/index.ts",
interpreter: "node",
exec_mode: "cluster",
}],
};