Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
I've been trying to configure our solution to use Hot Module Reloading, which uses Angular 19.2, with CLI 19.2.3.
Note: the information taken from the environment below is not valid for this issue.
I've tried a number of configurations, but on each occasion I receive the message in the Terminal window of VS Code -> Component update sent to client. However no change is seen. This normal requires a browser refresh to see the change, but sometimes that is not sufficient. Please see my configuration below.
Output
**Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
➜ Local: http://localhost:4200/**
➜ press h + enter to show help
Initial chunk files | Names | Raw size | Estimated transfer size
main.js | main | 346.68 kB | 86.55 kB
Application bundle generation complete. [9.605 seconds]
▲ [WARNING] 9 rules skipped due to selector errors:
.table>>> -> Did not expect successive traversals.
.table-sm>>> -> Did not expect successive traversals.
.table-bordered>>* -> Did not expect successive traversals.
.table-bordered>>> -> Did not expect successive traversals.
.table-borderless>>> -> Did not expect successive traversals.
.form-floating>~label -> Did not expect successive traversals.
.form-floating>~label -> Did not expect successive traversals.
.btn-group>+.btn -> Did not expect successive traversals.
.btn-group>+.btn -> Did not expect successive traversals.
launch.json
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/Test/bin/Debug/net8.0/Test.dll",
"args": [],
"cwd": "${workspaceFolder}/Test",
"stopAtEntry": false,
"requireExactSource": false,
"internalConsoleOptions": "openOnSessionStart",
"preLaunchTask": "start-angular-hmr",
"launchBrowser": {
"enabled": true,
"args": "${auto-detect-url}",
"windows": {
"command": "cmd.exe",
"args": "/C start ${auto-detect-url}"
},
"osx": {
"command": "open"
},
"linux": {
"command": "xdg-open"
}
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
package.json
"start:hmr": "ng serve --configuration hmr",
tasks.json
{
"label": "start-angular-hmr",
"type": "shell",
"command": "npm run start:hmr",
"options": {
"cwd": "${workspaceFolder}/HermesHome"
},
"isBackground": true,
"problemMatcher": {
"background": {
"activeOnStart": true,
"beginsPattern": ".*",
"endsPattern": "Server is listening on.*"
},
},
},
angular.json
"hmr": {
"hmr": true,
"buildTarget": "hermes-home:build"
}
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run ng version)
Anything else?
No response
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
I've been trying to configure our solution to use Hot Module Reloading, which uses Angular 19.2, with CLI 19.2.3.
Note: the information taken from the environment below is not valid for this issue.
I've tried a number of configurations, but on each occasion I receive the message in the Terminal window of VS Code -> Component update sent to client. However no change is seen. This normal requires a browser refresh to see the change, but sometimes that is not sufficient. Please see my configuration below.
Output
**Watch mode enabled. Watching for file changes...
NOTE: Raw file sizes do not reflect development server per-request transformations.
➜ Local: http://localhost:4200/**
➜ press h + enter to show help
Initial chunk files | Names | Raw size | Estimated transfer size
main.js | main | 346.68 kB | 86.55 kB
Application bundle generation complete. [9.605 seconds]
▲ [WARNING] 9 rules skipped due to selector errors:
.table>>> -> Did not expect successive traversals.
.table-sm>>> -> Did not expect successive traversals.
.table-bordered>>* -> Did not expect successive traversals.
.table-bordered>>> -> Did not expect successive traversals.
.table-borderless>>> -> Did not expect successive traversals.
.form-floating>~label -> Did not expect successive traversals.
.form-floating>~label -> Did not expect successive traversals.
.btn-group>+.btn -> Did not expect successive traversals.
.btn-group>+.btn -> Did not expect successive traversals.
launch.json
{
package.json
"start:hmr": "ng serve --configuration hmr",
tasks.json
{
angular.json
"hmr": {
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)Anything else?
No response