Skip to content

Commit

Permalink
not sure that makese sense
Browse files Browse the repository at this point in the history
  • Loading branch information
skorfmann committed Jan 26, 2024
1 parent 9238e03 commit d3d8115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/react-website/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "node run_and_kill.js",
"build": "react-scripts build",
"start": "react-scripts start",
"build": "node run_and_kill.js",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react-website/website/run_and_kill.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ function runAndKillAfter(command, args, duration) {
}

console.log('Starting process...');
runAndKillAfter('react-scripts', ['start'], 60000); // 60000 milliseconds = 60 seconds
runAndKillAfter('react-scripts', ['build'], 60000); // 60000 milliseconds = 60 seconds

0 comments on commit d3d8115

Please sign in to comment.