diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index 30532ea..737af7c 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -5,7 +5,7 @@ module.exports = { script: "./index.js", cwd: "/root/ttbackend", instances: 1, - exec_mode: "cluster", + exec_mode: "fork", autorestart: true, watch: true, ignore_watch: ["node_modules", "logs", ".git", "frontend"],