Skip to content

Is there a way to enable hot module replacement  #2

@iEricKoh

Description

@iEricKoh

@iansinnott I'm familiar with the webpack-dev-server and have used it quite a bit. But in webpack-dev-middleware, I have no idea on how to get hot module replacement working in this project.

Currently there is a error message from HMR on chrome console after I save my changes in the file.

[HMR] The following modules couldn't be hot updated: (Full reload needed)
This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See http://webpack.github.io/docs/hot-module-replacement-with-webpack.html for more details.

Could you please give me some advice on hot-module-replacement with webpack-dev-middleware? thanks.

Also, are you going to upgrade version of babel from 5.. to 6..?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions