Hot module loading doesn't work #102

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

Originally created by @jtheisen on 4/13/2018

I did

dotnet new react test
cd test
npm i
dotnet restore
dotnet run

The app displays fine in the browser, but changes in the source files are not reflected.

I do see the build being triggered by a change, and I do get these lines in the browser console after each build:

[HMR] bundle rebuilding
[HMR] bundle rebuilt in 47ms

But any text change I make is still not updated.

This used to work when I tried one or two months ago, but I

  • don't know which version of the template it was and
  • don't know how to specify the template version in dotnet new.

Not sure if this is related to #1585.

*Originally created by @jtheisen on 4/13/2018* I did ``` dotnet new react test cd test npm i dotnet restore dotnet run ``` The app displays fine in the browser, but changes in the source files are not reflected. I do see the build being triggered by a change, and I do get these lines in the browser console after each build: ``` [HMR] bundle rebuilding [HMR] bundle rebuilt in 47ms ``` But any text change I make is still not updated. This used to work when I tried one or two months ago, but I - don't know which version of the template it was and - don't know how to specify the template version in `dotnet new`. Not sure if this is related to #1585.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#102
No description provided.