Skip to content

After each code change, the copy operation of the "copy-webpack-plugin" plug-in is executed at the same time as the recompilation operation. #504

@webpack-bot

Description

@webpack-bot

webpack: v4.43.0
webpack-dev-server: v3.11.0
copy-webpack-plugin: v6.0.2
html-webpack-plugin v4.3.0
Windows 10 professional edition 1902 18363.900
node.js: v14.4.0
npm: v6.14.5

Describe the bug:
1、
After each code change, the copy operation of the "copy-webpack-plugin" plug-in is executed at the same time as the recompilation operation.
image

To Reproduce:
1、The configuration of "copy-webpack-plugin" is:
image
2、The configuration of "html-webpack-plugin" is:
image
3、The configuration of "webpack" is:
image

Expected behavior:
1、
After each code change, the recompile operation will not be executed at the same time as the "copy-webpack-plugin" plugin's copy operation.
2、
The "copy-webpack-plugin" plug-in will be re copied only when the copied file changes.


This issue was moved from webpack/webpack#11032 by @evilebottnawi. Original issue was by @LP1994.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions