-
-
Notifications
You must be signed in to change notification settings - Fork 430
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
Build is abysmally slow with experimentalWatchApi enabled #746
Comments
@sheetalkamat, would you have any insight on the regression? |
Would need to add some logs and investigate to see whats causing this. Do you have repro project that I can look into. |
Could repro it on your project, Investigating... |
This was referenced Mar 19, 2018
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour
experimentalWatchApi
should, ideally, make dev builds fasterActual Behaviour
The initial build time is 25-35x slower on my personal project when
experimentalWatchApi
is enabled, as compared to when no options are provided at all.Steps to Reproduce the Problem
Using
ts-loader@4.0.1
, enable theexperimentalWatchApi
option in your webpack config.Location of a Minimal Repository that Demonstrates the Issue.
I don't have a minimal repro, as the issue seems to be an O(kn) issue that's not noticeable with small repositories.
When I tried running this on my work repository, I had to kill it before it ever made any real progress. On a much smaller personal project, I got the following traces:
With
experimentalWatchApi
With no options provided:
The text was updated successfully, but these errors were encountered: