From ae3bf11d0b79457bf8bbc344e495a61d787ce82f Mon Sep 17 00:00:00 2001 From: Eegras Date: Thu, 30 Apr 2020 18:33:57 -0500 Subject: [PATCH] Update pm2 config file to run on Windows 10 https://github.com/Unitech/pm2/issues/3657#issuecomment-482010714 This is a known issue with pm2 on Windows. pm2 tries to run node.cmd as javascript which is wrong. --- modmailbot-pm2.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modmailbot-pm2.json b/modmailbot-pm2.json index 6322645..4635ec8 100644 --- a/modmailbot-pm2.json +++ b/modmailbot-pm2.json @@ -3,6 +3,6 @@ "name": "ModMailBot", "cwd": "./", "script": "npm", - "args": "start" + "args": "./src/index.js" }] }