Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Updating ts-loader to 0.9.* breaks webpack hot module replacement #388

Closed
@d0pare

Description

@d0pare

I am not sure this is related to this repository, just opened for conversation.
When I updated ts-loader to 0.9.* it broke hot module replacement. Now all modules are rebuilding on every change.

With 0.8.2:

[HMR] connected
client.js:128 [HMR] bundle rebuilding
client.js:132 [HMR] bundle rebuilt in 224ms
process-update.js:27 [HMR] Checking for updates on the server...
process-update.js:100 [HMR] Updated modules:
process-update.js:102 [HMR]  - ./ClientApp/app/components/counter/counter.component.html
process-update.js:102 [HMR]  - ./ClientApp/app/components/counter/counter.component.ts
process-update.js:102 [HMR]  - ./ClientApp/app/app.module.ts
process-update.js:102 [HMR]  - ./ClientApp/boot-client.ts
process-update.js:107 [HMR] App is up to date.

With 0.9.3:

[HMR] connected
client.js:128 [HMR] bundle rebuilding
client.js:132 [HMR] bundle rebuilt in 5264ms
process-update.js:27 [HMR] Checking for updates on the server...
process-update.js:100[HMR] Updated modules:
process-update.js:102[HMR]  - ./ClientApp/boot-client.ts
process-update.js:102[HMR]  - ./ClientApp/app/app.module.ts
process-update.js:102[HMR]  - ./ClientApp/app/components/app/app.component.ts
process-update.js:102[HMR]  - ./ClientApp/app/components/navmenu/navmenu.component.ts
process-update.js:102[HMR]  - ./ClientApp/app/components/home/home.component.ts
process-update.js:102[HMR]  - ./ClientApp/app/components/fetchdata/fetchdata.component.ts
process-update.js:102[HMR]  - ./ClientApp/app/components/counter/counter.component.ts
process-update.js:102[HMR]  - ./ClientApp/app/components/counter/counter.component.html
process-update.js:107[HMR] App is up to date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions