Skip to content

Commit 57439e1

Browse files
filipesilvahansl
authored andcommitted
docs: fix hmr configuration properties
Address #10438 (comment)
1 parent 6141e6f commit 57439e1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/documentation/stories/configure-hmr.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,15 @@ Update `angular.json` to include an hmr environment as explained [here](./applic
4747
"serve": {
4848
"configuration": {
4949
...
50-
"hmr": true
50+
"hmr": {
51+
"hmr": true,
52+
"fileReplacements": [
53+
{
54+
"replace": "src/environments/environment.ts",
55+
"with": "src/environments/environment.hmr.ts"
56+
}
57+
],
58+
}
5159
}
5260
}
5361
```

0 commit comments

Comments
 (0)