-
Notifications
You must be signed in to change notification settings - Fork 737
[Bug]: Missing circular warning on watch #8892
Copy link
Copy link
Description
Reproduction link or steps
Using this repository: https://github.com/Benjamin-Carlson/circularWarningOnWatch
Circular Warning on watch
Circular warning on watch bug reproduction for rolldown
Rollup CIRCULAR_DEPENDENCY
Build output
src/index.js → dist...
(!) Circular dependency
src/a.js -> src/b.js -> src/a.js
created dist in 20ms
Watch output
rollup v4.60.0
bundles src/index.js → dist...
(!) Circular dependency
src/a.js -> src/b.js -> src/a.js
created dist in 20ms
[2026-03-24 08:41:05] waiting for changes...
Rolldown CIRCULAR_DEPENDENCY
Build output
[CIRCULAR_DEPENDENCY] Warning: Circular dependency: src/a.js -> src/b.js -> src/a.js.
<DIR>/index.js chunk │ size: 0.06 kB
<DIR>/b.js chunk │ size: 0.09 kB
<DIR>/a.js chunk │ size: 0.16 kB
✔ rolldown v1.0.0-rc.11 Finished in 11.37 ms
Watch output
✔ Rebuilt dist in 6.00 ms.
What is expected?
With circular warnings enabled it is expected that the warning is shown in both build and watch.
What is actually happening?
Circular warning are shown in build as expected, but not in watch for rolldown.
System Info
System:
OS: Windows 11 10.0.26200
CPU: (16) x64 AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 31.13 GB / 61.56 GB
Binaries:
Node: 22.19.0 - C:\nvm4w\nodejs\node.EXE
npm: 10.9.3 - C:\nvm4w\nodejs\npm.CMD
pnpm: 10.28.2 - C:\nvm4w\nodejs\pnpm.CMD
Browsers:
Edge: Chromium (144.0.3719.92)
Internet Explorer: 11.0.26100.7309
npmPackages:
rolldown: 1.0.0-rc.11 => 1.0.0-rc.11Any additional comments?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Type
Fields
Give feedbackPriority
None yet
Effort
None yet