Skip to content

Only works if not alone in plugins list #34

@OoDeLally

Description

@OoDeLally

I made a dummy project, to get the simplest situation where the problem occurs:

ExtraWatchWebpackPlugin_bug.zip

If you run npm run build, it will watch index.js, as it is the entry point, but it will not watch extra.js.

However, if you uncomment the webpack.BannerPlugin plugin in webpack.config.js, now it successfully watch extra.js.

I can't explain this behavior. I added some console logs in ExtraWatchWebpackPlugin, and it seems like it always reacts when extra.js is modified, but the output file is not rebuilt.

Any help appreciated!

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