Skip to content

Commit 8ab0953

Browse files
committed
Update readme for production build/start
1 parent e41a01c commit 8ab0953

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ yarn start
2424

2525
Direct your browser to `http://localhost:3000`.
2626

27+
For production builds:
28+
29+
```
30+
yarn run prod:start
31+
```
32+
2733
## Directory Structure
2834
```
2935
├── client # Client-side code

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dev:start:client": "better-npm-run dev:start:client",
2020
"dev:build": "better-npm-run dev:build",
2121
"prod:build": "better-npm-run prod:build",
22-
"prod:start": "better-npm-run prod:start ",
22+
"prod:start": "better-npm-run prod:build && better-npm-run prod:start ",
2323
"test": "better-npm-run test",
2424
"test:all": "better-npm-run test:all",
2525
"test:watch": "better-npm-run test:watch",

0 commit comments

Comments
 (0)