Skip to content

Commit

Permalink
Update React launch script (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Aug 19, 2024
1 parent cc13b56 commit be63888
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/react-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,5 @@ jobs:
- name: Install dependencies
run: yarn install

- name: Build English
run: yarn build en

- name: Build Other Language
run: yarn build ko
- name: Build
run: yarn build
3 changes: 2 additions & 1 deletion demo/react/scripts/run_demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fs.writeFileSync(

const command = process.platform === "win32" ? "npx.cmd" : "npx";

child_process.fork("react-scripts", commands, {
child_process.spawn("react-scripts", commands, {
execPath: command,
shell: true
});

0 comments on commit be63888

Please sign in to comment.