We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
4.12.0
Windows
18.16.0
https://github.com/apietrzaklea/rollup-watch-hangs
Watch correctly handles circular dependencies
Currently when circular dependency happens between more than two files, rollup hangs when watcher wants rebuild library.
In example project run: "npm run start" and when build is done, try to change "file2.ts" for example.
Based on my investigation fetchModule enters with isPreload === true and goes into handleExistingModule. That ends with await loadPromise and freeze.
fetchModule
isPreload === true
handleExistingModule
await loadPromise
It does not happen when first build is done.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Rollup Version
4.12.0
Operating System (or Browser)
Windows
Node Version (if applicable)
18.16.0
Link To Reproduction
https://github.com/apietrzaklea/rollup-watch-hangs
Expected Behaviour
Watch correctly handles circular dependencies
Actual Behaviour
Currently when circular dependency happens between more than two files, rollup hangs when watcher wants rebuild library.
In example project run: "npm run start" and when build is done, try to change "file2.ts" for example.
Based on my investigation
fetchModule
enters withisPreload === true
and goes intohandleExistingModule
. That ends withawait loadPromise
and freeze.It does not happen when first build is done.
The text was updated successfully, but these errors were encountered: