Skip to main content
GoodFirstPicks
DashboardIssuesReposLeaderboard

GoodFirstPicks by Leaveitblank © 2026

CreatorRequest a RepoPrivacy PolicyTerms of Service
`npm run dev`: `vips` package gets stuck in a build loop | GoodFirstPicks

`npm run dev`: `vips` package gets stuck in a build loop

WordPress/gutenberg 6 comments 27d ago
View on GitHub
mediumopenScope: somewhat clearSkill match: maybeWordPressJavaScriptReact

Why this is a good first issue

The issue involves a build loop in the vips package during branch changes.

AI Summary

The issue involves the vips package getting stuck in a build loop when changing branches with `npm run dev` running. The root cause seems to be the continuous detection of changes in `packages/vips/src/worker-code.ts`. Potential solutions include keeping a committed stub file or ignoring changes for watch. The issue might be related to another reported problem involving continuously changing hashes.

Issue Description

Description

I've noticed when changing branches with npm run dev running the vips package can get stuck in a build loop:

https://github.com/user-attachments/assets/87871ecf-5d4f-41e8-ad3c-ff9576c66576

The video also shows the endless TS errors that seem to occur when using npm run dev.

Step-by-step reproduction instructions

The issue seems intermittent, so reproduction might not be easy. Colleagues have confirmed that they also experience the bug, so not just me (for once)

  1. Run npm run dev
  2. Change branches
  3. vips package continually rebuilds over and over

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

GitHub Labels

[Type] Bug[Type] Build Tooling[Package] wp-build

Want to work on this?

Claim this issue to let others know you're working on it. You'll earn 20 points when you complete it!

Risk Flags

  • intermittent issue
  • requires understanding of build tooling
Loading labels...

Details

Points20 pts
Difficultymedium
Scopesomewhat clear
Skill Matchmaybe
Test Focusedno