diff --git a/ecosystem.config.js b/ecosystem.config.js index a79cb57..27d11c4 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -2,7 +2,10 @@ module.exports = { apps: [ { name: 'on-site-survey', - script: 'node_modules/next/dist/bin/next', + // script: 'node_modules/next/dist/bin/next', + script: 'npm', + args: 'start', + cwd: './', instances: 2, exec_mode: 'cluster', },