From 64d9f64fb8873e7c3d74cd70de63fcc7aa03bfd6 Mon Sep 17 00:00:00 2001 From: Izuco Date: Mon, 31 Jan 2022 19:08:25 +0100 Subject: [PATCH] Update tsc.ts --- tsc.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tsc.ts b/tsc.ts index cf75ef7..8cdc0ce 100644 --- a/tsc.ts +++ b/tsc.ts @@ -52,6 +52,12 @@ export { ignore }; if (!isTest) { process.stdout.write('✓\nBuilding react... '); + const installReactDependencies = exec('npm install', { + cwd: path.join(__dirname, 'gui', 'react'), + }); + + await waitForProcess(installReactDependencies); + const react = exec('npm run build', { cwd: path.join(__dirname, 'gui', 'react'), });