Skip to content

chore(release): new release#288

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

chore(release): new release#288
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented Apr 17, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

watchpack@2.5.2

Patch Changes

  • fix: retry fs.lstat on transient EBUSY errors instead of flagging the (by @alexander-akait in #293)
    file as removed (fixes Webpack watch stops if one of the output files is busy #223, Watch Mode stops functioning if emitted file is busy or locked #44).

    On Windows it is common for anti-virus scanners, indexers or the editor
    itself to briefly hold an exclusive handle on a file that has just
    changed. Before this change the watcher would receive the fs.watch
    event, call lstat, get back EBUSY, and fall through to setMissing
    — causing a spurious remove event and in some cases leaving the
    watcher unable to see further changes for that file until the directory
    was re-scanned.

    DirectoryWatcher now retries lstat up to three times (100 ms apart)
    before giving up, and does not emit a remove when the only reason the
    file could not be stat'd was EBUSY.

    The retry count is controlled by the WATCHPACK_RETRIES environment
    variable (default: 3; set to 0 or "false" to disable retrying and
    restore the previous behaviour).

  • Improve perfomance for ignored and improve perfomance for reduce plan. (by @alexander-akait in #289)

  • perf: skip the path-separator replacement when the input has no backslash (by @alexander-akait in #287)
    (benchmarks measure ~35–45% less time for ignored matchers on POSIX paths),
    fast-path single-element ignored arrays, and make reducePlan's selection
    loop walk only structurally valid candidates with an early exit when the
    ideal reduction is found (measured ~20–40% faster on medium and large
    plans). Adds a tinybench suite under bench/ and a CodSpeed GitHub Actions
    workflow so future regressions are caught automatically.

@github-actions github-actions Bot force-pushed the changeset-release/main branch 4 times, most recently from 467c9d1 to a7f5373 Compare April 23, 2026 14:51
@github-actions github-actions Bot force-pushed the changeset-release/main branch from a7f5373 to 53210a9 Compare April 23, 2026 16:52
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 this pull request may close these issues.

Webpack watch stops if one of the output files is busy

0 participants