aboutsummaryrefslogtreecommitdiff
path: root/ecosystem.config.cjs
diff options
context:
space:
mode:
Diffstat (limited to 'ecosystem.config.cjs')
-rw-r--r--ecosystem.config.cjs4
1 files changed, 2 insertions, 2 deletions
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',