aboutsummaryrefslogtreecommitdiff
path: root/ecosystem.config.cjs
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-21 17:59:56 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-02-21 17:59:56 -0500
commitf395ceeabf63ae8972f360cd72f4a14cbaba36b6 (patch)
treee54c21f6ee292dd271609ba70c6a06279678b4f4 /ecosystem.config.cjs
parentc42f42e4dcce2e1e9b886adca355ec2951205b6b (diff)
downloadtanzanite-f395ceeabf63ae8972f360cd72f4a14cbaba36b6.tar.gz
tanzanite-f395ceeabf63ae8972f360cd72f4a14cbaba36b6.tar.bz2
tanzanite-f395ceeabf63ae8972f360cd72f4a14cbaba36b6.zip
fix: source maps
Diffstat (limited to 'ecosystem.config.cjs')
-rw-r--r--ecosystem.config.cjs14
1 files changed, 5 insertions, 9 deletions
diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs
index b624f5c..656d30d 100644
--- a/ecosystem.config.cjs
+++ b/ecosystem.config.cjs
@@ -1,31 +1,27 @@
-// eslint-disable-next-line import/no-commonjs
+/* eslint-disable import/no-commonjs */
module.exports = {
apps: [
{
name: 'bush-bot',
script: 'yarn',
- args: 'node --experimental-json-modules --no-warnings dist/src/bot.js',
+ args: 'start:raw',
out_file: '../bushbot.log',
error_file: '../bushbot.log',
max_memory_restart: '1G',
node_args: ['--max_old_space_size=2048'],
- env: {
- FORCE_COLOR: '3'
- },
+ env: { FORCE_COLOR: '3' },
exp_backoff_restart_delay: 2500,
wait_ready: true
},
{
name: 'bush-bot-beta',
script: 'yarn',
- args: 'node --experimental-json-modules --no-warnings dist/src/bot.js',
+ args: 'start:raw',
out_file: '../bushbot-beta.log',
error_file: '../bushbot-beta.log',
max_memory_restart: '1G',
node_args: ['--max_old_space_size=2048'],
- env: {
- FORCE_COLOR: '3'
- },
+ env: { FORCE_COLOR: '3' },
exp_backoff_restart_delay: 2500,
wait_ready: true
}