Skip to content

Commit 22f836a

Browse files
MeAkibdgp1130
authored andcommitted
docs(@angular/build): include component templates in dev-server hmr description
The `hmr` option description stated that only global and component stylesheets are supported. Component template hot replacement is also enabled by default when HMR is active, so list templates alongside the supported stylesheets. (cherry picked from commit c1cfe8f)
1 parent fe119a7 commit 22f836a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular/build/src/builders/dev-server

‎packages/angular/build/src/builders/dev-server/schema.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
},
9292
"hmr": {
9393
"type": "boolean",
94-
"description": "Enable hot module replacement. Defaults to the value of 'liveReload'. Currently, only global and component stylesheets are supported."
94+
"description": "Enable hot module replacement. Defaults to the value of 'liveReload'. Currently, global stylesheets, component stylesheets, and component templates are supported."
9595
},
9696
"watch": {
9797
"type": "boolean",

0 commit comments

Comments
 (0)