fix: ensure script path is absolute

This commit is contained in:
Alexis Tyler
2020-09-25 07:51:15 +09:30
parent 0e7ff34834
commit 3ba3e00907

View File

@@ -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,