Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart incremental build mode #5289

Closed
RoHePu opened this issue Jul 14, 2017 · 0 comments · Fixed by #5290
Closed

Smart incremental build mode #5289

RoHePu opened this issue Jul 14, 2017 · 0 comments · Fixed by #5290

Comments

@RoHePu
Copy link

RoHePu commented Jul 14, 2017

Do you want to request a feature or report a bug?
feature

What is the current behavior?
Using webpack-dev-server no information on the files that was changed seems to be passed to webpack. Every incremental build in webpack seems to start from the entry points and traverses all modules. This is a bottle neck for incremental builds having a huge amount of modules.

If the current behavior is a bug, please provide the steps to reproduce.
We have created a repo where you can produce as many JS files as you want to test the performance of webpack.

What is the expected behavior?
We would wish to have an intelligent incremental build mode that touches the changed files only.

If this is a feature request, what is motivation or use case for changing the behavior?
All projects having a huge amount of modules would love it because it would decrease the incremental build times tremendously. Incremental build times longer than 15 sec are a pain for developers.

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Afaik all webpack versions are affected.

sokra added a commit that referenced this issue Jul 14, 2017
This restores original performance on incremental builds

fixes #5289
fixes #5277
sokra added a commit that referenced this issue Jul 14, 2017
This restores original performance on incremental builds

fixes #5289
fixes #5277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant