discord.pm2.config.js 288 B

12345678910111213
  1. module.exports = {
  2. apps : [
  3. {
  4. name: 'discord-bot',
  5. script: './src/discord.ts',
  6. cwd: './',
  7. exec_mode: 'fork',
  8. interpreter: 'node',
  9. watch: './src',
  10. interpreter_args: '--require ts-node/register --require tsconfig-paths/register'
  11. },
  12. ],
  13. };