From 8342e01afc03c85c32c7368ad880bb96c8677c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=9F=E8=B4=A4?= Date: Fri, 11 Feb 2022 15:50:11 +0800 Subject: [PATCH] fix: add serve exit code console close https://github.com/ant-design/ant-design-pro/issues/9575\?notification_referrer_id\=NT_kwDOAHzrKLIzMDEzMDQ5MzkwOjgxODY2NjQ\¬ifications_query\=is%3Aunread\#event-5965333309 --- tests/run-tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests.js b/tests/run-tests.js index 8ac1d871..d4e0fc8e 100644 --- a/tests/run-tests.js +++ b/tests/run-tests.js @@ -39,7 +39,7 @@ startServer.stdout.on('data', (data) => { }, ); testCmd.on('exit', (code) => { - console.log(code); + console.log('服务已经退出,退出码:', code); startServer.kill(); process.exit(code); });