You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Hot Module Replacement not working unless entry is main #289
We might need to just dynamically look and see what entry is there, problem I see is if they have multiple entry points in an [] Array. @SteveSandersonMS
In my app I receive output in console:
[HMR] bundle rebuilding main.js:720:23
[HMR] bundle rebuilt in 2900ms main.js:723:8
[HMR] Checking for updates on the server... main.js:1606:23
[HMR] Updated modules: main.js:1679:10
[HMR] - ./ClientApp/styles/style.scss main.js:1681:12
[HMR] - ./ClientApp/boot-client.ts main.js:1681:12
[HMR] App is up to date. main.js:1686:10
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
Activity
MarkPieszak commentedon Sep 1, 2016
It looks like there's a marker for this in the
aspnet-webpackpackage actually, you're right.And of course the webpack files (default) come with:
We might need to just dynamically look and see what entry is there, problem I see is if they have multiple entry points in an [] Array. @SteveSandersonMS
hheexx commentedon Sep 6, 2016
So HMR is broken currently?
In my app I receive output in console:
[HMR] bundle rebuilding main.js:720:23
[HMR] bundle rebuilt in 2900ms main.js:723:8
[HMR] Checking for updates on the server... main.js:1606:23
[HMR] Updated modules: main.js:1679:10
[HMR] - ./ClientApp/styles/style.scss main.js:1681:12
[HMR] - ./ClientApp/boot-client.ts main.js:1681:12
[HMR] App is up to date. main.js:1686:10
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
But the content on the page does not change.
MarkPieszak commentedon Sep 6, 2016
Do you have the default
mainentry? @hheexxhheexx commentedon Sep 7, 2016
Yes I have.
I guess it's not this problem.
When I first read the thread I thought that file needs to be named main.ts
SteveSandersonMS commentedon Sep 9, 2016
Fixed. To get the fix, update to the latest version of
aspnet-webpack(version1.0.11or later).MarkPieszak commentedon Sep 9, 2016
What did you do to fix it? @SteveSandersonMS just curious!
SteveSandersonMS commentedon Sep 9, 2016
See bc2de2a