-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix(webpack): use new watcher for webpack build coordination plugin #18822
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
b8699bf
to
bba305d
Compare
@@ -48,60 +49,77 @@ class BatchCommandRunner { | |||
return this.process(); | |||
} | |||
|
|||
async process() { | |||
private async process() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point enqueue
is just process
, can we move the body into enqueue
and remove process
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github hid it but enqueue
also adds projects and files into pending
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
The webpack incremental builds build all of the libs once for every file that changes which can be a lot of files when switching branches.
Also, the webpack incremental builds use
chokidar
to watch for file changes.Expected Behavior
The webpack incremental builds only build all of the libs once when many files change at once such as when changing branches.
Also, the webpack incremental builds use the logic from the
nx watch
command and use the daemon file watcher instead of chokidarRelated Issue(s)
Fixes #