docs(service-worker): copyedit getting started guide (#40543)
Fix numbered list for the `Making changes to your application` section PR Close #40543
This commit is contained in:
parent
8fb83ea1b5
commit
348d365666
@ -115,7 +115,7 @@ Pay attention to two key points:
|
|||||||
### Making changes to your application
|
### Making changes to your application
|
||||||
|
|
||||||
Now that you've seen how service workers cache your application, the
|
Now that you've seen how service workers cache your application, the
|
||||||
next step is understanding how updates work.
|
next step is understanding how updates work. Let's make a change to the application, and watch the service worker install the update:
|
||||||
|
|
||||||
1. If you're testing in an incognito window, open a second blank tab. This will keep the incognito and the cache state alive during your test.
|
1. If you're testing in an incognito window, open a second blank tab. This will keep the incognito and the cache state alive during your test.
|
||||||
|
|
||||||
@ -123,13 +123,11 @@ next step is understanding how updates work.
|
|||||||
|
|
||||||
3. Shut down `http-server`.
|
3. Shut down `http-server`.
|
||||||
|
|
||||||
4. Next, make a change to the application, and watch the service worker install the update.
|
4. Open `src/app/app.component.html` for editing.
|
||||||
|
|
||||||
5. Open `src/app/app.component.html` for editing.
|
5. Change the text `Welcome to {{title}}!` to `Bienvenue à {{title}}!`.
|
||||||
|
|
||||||
6. Change the text `Welcome to {{title}}!` to `Bienvenue à {{title}}!`.
|
6. Build and run the server again:
|
||||||
|
|
||||||
7. Build and run the server again:
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
ng build --prod
|
ng build --prod
|
||||||
|
Loading…
x
Reference in New Issue
Block a user