You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/browser/README.md
+3-13Lines changed: 3 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,13 +51,12 @@ For messaging session, make sure your role policy contains `chime:Connect` and `
51
51
1. Navigate to the `demos/browser` folder: `cd demos/browser`
52
52
53
53
2. Start the demo application: `npm run start`
54
-
> Note: Once the demo is run for the first time, you can run the application in hot reload mode by calling `npm run start:hot`.
55
54
56
55
3. Open http://localhost:8080 in your browser.
57
56
58
57
The meeting created with a local server is only available within your browser.
59
58
60
-
Changes to `meetingV2.html` and `meetingV2.ts` will be hot-reloaded. To force changes to the library itself to be hot-reloaded, run `npm run tsc:watch` in the SDK repository root.
59
+
Changes to demo source files (`.ts`, `.scss`, `.html`) will trigger an automatic page reload. To also pick up changes to the SDK source, run `npm run tsc:watch` in the SDK repository root and use `npm run start:watch` instead of `start:fast`.
61
60
62
61
### Demo applications
63
62
@@ -74,9 +73,9 @@ npm run start --app=<app>
74
73
```
75
74
76
75
For example,
77
-
1. To run the `meeting` demo, run:
76
+
1. To run the `meetingV2` demo, run:
78
77
```
79
-
npm run start --app=meeting
78
+
npm run start --app=meetingV2
80
79
```
81
80
2. To run the `meetingReadinessChecker` demo, run:
82
81
```
@@ -89,15 +88,6 @@ For example,
89
88
90
89
If you don't specify the `--app` option, it will run the `meetingV2` demo.
91
90
92
-
When using npm v7 or higher, use `--env` instead of `--app`:
93
-
94
-
```
95
-
npm run start:hot -- --env app=meetingReadinessChecker
96
-
npm run build -- --env app=meetingV2
97
-
```
98
-
99
-
`start:fast` is not currently supported for apps other than `meetingV2` with npm v7.
100
-
101
91
After running `start` the first time, you can speed things up on subsequent iterations by using `start:fast`, e.g.
0 commit comments