You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everytime a file changes, you're triggering watch which attaches additional listeners. After a few restarts, you will exceed the max number of listeners.
This should be rewritten to avoid memory leaks. Just remove the line which starts watch on change. It's redundant since start is triggered on restart anyway. I have made a pull request with the necessary fix.
The text was updated successfully, but these errors were encountered:
metaColin
added a commit
to metaColin/mean-machine-code
that referenced
this issue
Oct 8, 2015
From gulpfile.js in chapter 19.
Everytime a file changes, you're triggering watch which attaches additional listeners. After a few restarts, you will exceed the max number of listeners.
This should be rewritten to avoid memory leaks. Just remove the line which starts watch on change. It's redundant since start is triggered on restart anyway. I have made a pull request with the necessary fix.
The text was updated successfully, but these errors were encountered: