Newly generated app through yo aspnetcore-spa does not update angular changes #928

Closed
opened 2025-08-09 17:18:12 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @smhassan on 3/17/2017

Hi team,

First of all, thanks for all the hard work, this seems to be a great starter project to build on. I am an intermediate developer of .net core and learning angular 2. But unfortunately I ran into trouble right away. I ran the project using:

dotnet watch run

But that gives me the error:

No executable found matching command "dotnet-watch"

Hence I ran using:

dotnet run

Which successfully ran the application on port localhost:5000. At this point I tried changing things in app/ folder navmenu.component.html by changing:

<a class='navbar-brand' [routerLink]="['/home']">WebApplicationBasic

to:

<a class='navbar-brand' [routerLink]="['/home']">Web Application Basic

This did tiger the rebuild as dotnet detected a change but the browser did not show the changes. I tried testing in another browser in case cache was in play but same results. I restarted the server, did

dotnet build

but of no help. How does live reload work for angular in this project? The versions of my tools are as under.

npm : 3.10.8
node : v6.9.1
dotnet: 1.0.1
yo: 1.8.5

*Originally created by @smhassan on 3/17/2017* Hi team, First of all, thanks for all the hard work, this seems to be a great starter project to build on. I am an intermediate developer of .net core and learning angular 2. But unfortunately I ran into trouble right away. I ran the project using: > dotnet watch run But that gives me the error: > No executable found matching command "dotnet-watch" Hence I ran using: > dotnet run Which successfully ran the application on port localhost:5000. At this point I tried changing things in app/ folder **navmenu.component.html** by changing: > <a class='navbar-brand' [routerLink]="['/home']">WebApplicationBasic</a> to: > <a class='navbar-brand' [routerLink]="['/home']">Web Application Basic</a> This did tiger the rebuild as dotnet detected a change but the browser did not show the changes. I tried testing in another browser in case cache was in play but same results. I restarted the server, did > dotnet build but of no help. How does live reload work for angular in this project? The versions of my tools are as under. npm : 3.10.8 node : v6.9.1 dotnet: 1.0.1 yo: 1.8.5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#928
No description provided.