From 14a6bd2aca9adaa954c957d74089a1115d13c473 Mon Sep 17 00:00:00 2001 From: Jakub Gumowski Date: Thu, 27 Jan 2022 11:52:51 +0100 Subject: [PATCH] pm2 conf fix --- ecosystem.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index 6a4eb2e..d3a293f 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -5,7 +5,10 @@ module.exports = { exec_mode: 'cluster', instances: 'max', // Or a number of instances script: './node_modules/nuxt/bin/nuxt.js', - args: 'start' + args: 'start', + watch: ['../'], + watch_delay: 1000, + ignore_watch: ['node_modules'] } ] }