From dc5b6df6812b93099b7d092a13f69b2787734676 Mon Sep 17 00:00:00 2001 From: James Mortemore Date: Fri, 3 Jan 2025 18:10:26 +0000 Subject: [PATCH] fix: handle nginx signal process started --- cli/commands/setup/nginx.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cli/commands/setup/nginx.js b/cli/commands/setup/nginx.js index 8b6b604e3..b21502ee8 100644 --- a/cli/commands/setup/nginx.js +++ b/cli/commands/setup/nginx.js @@ -92,7 +92,13 @@ class NginxCommand extends Command { }) executeCommands.stderr.on('data', (data) => { - this.error(chalk.red(data.toString())) + const errorMessage = data.toString() + + if (errorMessage.includes('signal process started')) { + this.log(chalk.green('Nginx reload notice: signal process started')) + } else { + this.error(chalk.red(errorMessage)) + } }) executeCommands.on('close', async (code) => {