mirror of
https://github.com/smogon/pokemon-showdown-loginserver.git
synced 2026-08-28 21:24:09 -05:00
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.
10 lines
201 B
JavaScript
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",
|
|
}],
|
|
};
|