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: docs/documentation/stories/configure-hmr.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
**Documentation below is deprecated and we no longer accept PRs to improve this. The new documentation is available [here](https://angular.io/guide/build)**.
1
+
**HMR is a webpack feature that is not officially supported by Angular. Community contributors can submit PRs against this page to add corrections, new information, or advice.**.
2
2
3
3
# Configure Hot Module Replacement
4
4
5
-
Hot Module Replacement (HMR) is a WebPack feature to update code in a running app without rebuilding it.
6
-
This results in faster updates and less full page-reloads.
5
+
Hot Module Replacement (HMR) is a [webpack](https://webpack.js.org) feature to update code in a running app without rebuilding it.
6
+
This results in faster updates and fewer full page-reloads.
7
7
8
8
You can read more about HMR by visiting [this page](https://webpack.js.org/guides/hot-module-replacement/).
9
9
@@ -44,7 +44,7 @@ export const environment = {
44
44
45
45
46
46
Update `angular.json` to include an hmr environment as explained [here](./application-environments)
47
-
and add configurations within build and serve to enable hmr. Note that `<project-name>` here
47
+
and add configurations within build and serve to enable hmr. Note that `<project-name>` here
48
48
represents the name of the project you are adding this configuration to in `angular.json`.
49
49
50
50
```json
@@ -179,5 +179,3 @@ When starting the server Webpack will tell you that it’s enabled:
179
179
180
180
181
181
Now if you make changes to one of your components the changes should be visible automatically without a complete browser refresh.
0 commit comments