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'), });