WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@bmiddha
Copy link
Member

@bmiddha bmiddha commented Nov 19, 2025

Summary

Copy the DeferredWatchFileSystem implementation for heft-webpack5-plugin and make it work with heft-rspack-plugin

Fixes #5452

Details

An issue was reported where the rspack plugin gets stuck with Cancelling incremental build... message when an incremental build is running. This reproduces consistently when a change is made while a compilation is running.

This PR adds the DeferredWatchFileSystem from heft-webpack5-plugin which mitigates the issue.

This PR also has a change in heft-webpack5-plugin to update a logging message which incorrectly says "Rspack" instead of "Webpack"

How it was tested

Tested that heft build-watch and heft build-watch --serve work when files are changed while a compilation is running.

Impacted documentation

@bmiddha bmiddha merged commit 6c20fdf into main Nov 20, 2025
8 checks passed
@bmiddha bmiddha deleted the bmiddha/rspack-watchpack branch November 20, 2025 22:58
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

[heft] stuck in Cancelling incremental build... phase

3 participants