From 75eddd53819313978d533c11691ac0bc3ec5fdd5 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 13 Dec 2021 20:57:30 -0500 Subject: nvm --- .nvmrc | 1 + ecosystem.config.cjs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..8e2afd3 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +17 \ No newline at end of file diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index 90c39e5..3262f29 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -3,7 +3,7 @@ module.exports = { { name: 'bush-bot', script: 'yarn', - args: 'node --experimental-json-modules --no-warnings dist/src/bot.js', + args: 'nvm run --experimental-json-modules --no-warnings dist/src/bot.js', out_file: '../bushbot.log', error_file: '../bushbot.log', max_memory_restart: '1G', @@ -17,7 +17,7 @@ module.exports = { { name: 'bush-bot-beta', script: 'yarn', - args: 'node --experimental-json-modules --no-warnings dist/src/bot.js', + args: 'nvm run --experimental-json-modules --no-warnings dist/src/bot.js', out_file: '../bushbot-beta.log', error_file: '../bushbot-beta.log', max_memory_restart: '1G', -- cgit