Skip to content

webpack's watch and hot replace is invalid when use brfs #73

Open
@Pines-Cheng

Description

@Pines-Cheng

I use brfs like this:

var examples = {
  basic: require('fs').readFileSync(__dirname + '/01-basic.js', 'utf-8'),
};

and when I modify the file of 01-basic.js, the watch and auto compile and hot-replace is invalid.
In addition ,I use the webpack-dev-server.
The only way to resolve this problem is Ctrl + Cto stop ,and run npm start again.
This is too inconvenient to work effectively,Does someone has the solution?

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