Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(build): do not close watch bundle if skipWrite is true (#20412) - #23453

Open
gilangabdian wants to merge 1 commit into
vitejs:mainfrom
gilangabdian:fix-watch-bundle-close
Open

fix(build): do not close watch bundle if skipWrite is true (#20412)#23453
gilangabdian wants to merge 1 commit into
vitejs:mainfrom
gilangabdian:fix-watch-bundle-close

Conversation

@gilangabdian

Copy link
Copy Markdown
Contributor

prevent event.result.close() from being forcefully called when watch.skipWrite or build.write: false is set. Implementing a prevResult reference that will close unclosed bundles in an orderly manner at the start of the next BUNDLE_START cycle is a way to address the memory leak issue raised by the author

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.

1 participant