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

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added #2699

Closed
luwes opened this issue Feb 16, 2019 · 0 comments · Fixed by #2700

Comments

@luwes
Copy link
Contributor

luwes commented Feb 16, 2019

Expected Behavior / Situation

Rollup not to output this warning when watching more than 10 bundles, (node:42553) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit

Actual Behavior / Situation

Rollup shows this warning when watching more than 10 bundles. (node:42553) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added. Use emitter.setMaxListeners() to increase limit

screen shot 2019-02-15 at 8 12 04 pm

Modification Proposal

Set max listeners to Infinity, see a fix used in another lib.
tapjs/signal-exit@395ccc8#diff-168726dbe96b3ce427e7fedce31bb0bcR27

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 a pull request may close this issue.

1 participant