Skip to content

HMR with the css-loader is broken when enable modules #139

Closed
@desenmeng

Description

@desenmeng

webpack config

{ 
  test: /\.css$/,
  loaders: ['style', 'css?module&localIdentName=[hash:base64:5]']
}

css file

body{
  color: black;
}
.test{
  color: red;
}

HMR log

[WDS] App updated. Recompiling...
[WDS] App hot update...
[HMR] Checking for updates on the server...
[HMR] The following modules couldn't be hot updated: (They would need a full reload!)
[HMR]  - 584
[HMR] Nothing hot updated.

package version

    "css-loader": "^0.18.0",
    "style-loader": "^0.12.3",
    "webpack": "^1.12.0",
    "webpack-dev-server": "^1.10.1"

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