From 3ba3e00907b466b2811feb44fc72c395892b7aa8 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Fri, 25 Sep 2020 07:51:15 +0930 Subject: [PATCH] fix: ensure script path is absolute --- ecosystem.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 88aef1bf4..8e6eb1864 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -3,7 +3,7 @@ const path = require('path'); const common = { name: 'graphql-api', - script: './dist/index.js', + script: path.resolve(__dirname, './dist/index.js'), watch: false, wait_ready: true, listen_timeout: 3000,