From 2abd62ad3e144f7e784e2beeddec61571a177746 Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Tue, 2 Jul 2024 11:04:40 +0100 Subject: [PATCH] fix: fixed the restart command --- src/boilerplate/common/boilerplate-package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boilerplate/common/boilerplate-package.json b/src/boilerplate/common/boilerplate-package.json index 764e9988..5166f1b3 100644 --- a/src/boilerplate/common/boilerplate-package.json +++ b/src/boilerplate/common/boilerplate-package.json @@ -5,7 +5,7 @@ "test": "./bin/startup && docker-compose -f docker-compose.zapp.yml run zapp npx mocha --exit --require @babel/register 'orchestration/test.mjs'", "retest": "docker-compose -f docker-compose.zapp.yml run zapp npx mocha --exit --require @babel/register 'orchestration/test.mjs'", "start": "./bin/startup", - "restart": "docker-compose -f docker-compose.zapp.yml run --name apiservice -p 3000:3000 zapp node orchestration/api.mjs", + "restart": "docker-compose -f docker-compose.zapp.yml restart && docker compose -f docker-compose.zapp-double.yml logs -f -n 1000 zapp zokrates timber", "apitest": "./bin/setup && ./bin/startup && docker-compose -f docker-compose.zapp.yml run --name apiservice -d -p 3000:3000 zapp node orchestration/api.mjs" }, "keywords": [