From df353968a6f80bfd095b34865a48d95c5004e160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Mon, 16 Sep 2019 12:11:14 +0200 Subject: [PATCH] Pm2 stuff --- pm2.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pm2.json b/pm2.json index 59a83399..216c5a14 100644 --- a/pm2.json +++ b/pm2.json @@ -4,16 +4,12 @@ "name": "zoff", "script": "./server/app.js", "watch": true, + "instances": "max", + "exec_mode": "cluster", "ignore_watch": [ "./node_modules", "./server/public/assets/images/thumbnails" ] - }, - { - "name": "gulp", - "script": "./gulpfile.js", - "watch": true, - "ignore_watch": ["./node_modules", "./server/"] } ] }