From b4bd1cef57c533706cb108cc15af5aa2a4218254 Mon Sep 17 00:00:00 2001 From: Aleksi Ahtiainen Date: Mon, 21 Oct 2024 09:59:58 +0300 Subject: [PATCH] =?UTF-8?q?Workaround:=20est=C3=A4=20create-react-app:in?= =?UTF-8?q?=20konsolin=20tyhjennys;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tähän ei ole oikein muuta keinoa, ks. https://github.com/facebook/create-react-app/issues/2495 . --- omadata-oauth2-sample/client/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/omadata-oauth2-sample/client/package.json b/omadata-oauth2-sample/client/package.json index 7e7b02b3d0b..f03e3689221 100644 --- a/omadata-oauth2-sample/client/package.json +++ b/omadata-oauth2-sample/client/package.json @@ -28,7 +28,8 @@ }, "proxy": "http://localhost:7051", "scripts": { - "start": "react-scripts start", + "start": "FORCE_COLOR=true npm run start-react-scripts | cat", + "start-react-scripts": "react-scripts start", "start-server": "npm run --prefix ../server start", "start-with-server": "npm-run-all --parallel start-server start", "start-with-server-and-luovutuspalvelu": "npm-run-all --parallel start-luovutuspalvelu start-server start",