Skip to content
New issue

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

prevent mutation of cached ASTs #1205

Merged
merged 1 commit into from
Dec 30, 2016
Merged

prevent mutation of cached ASTs #1205

merged 1 commit into from
Dec 30, 2016

Conversation

Rich-Harris
Copy link
Contributor

This fixes the dreaded 'Maximum call stack size exceeded' error that occurs with rollup-watch when a file with an error is subsequently fixed. It does so by preventing mutations of the cached AST, which is reused between incremental builds for files that don't have errors.

Fixes #1153, #1010, and rollup/rollup-watch#21.

@tivac
Copy link
Contributor

tivac commented Dec 30, 2016

🎉

@talmobi
Copy link
Contributor

talmobi commented Dec 30, 2016

🌮 👍

@wearhere
Copy link

woah awesome!

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.

How keep watch when Error?
4 participants