Open syonfox opened 11 months ago
Ok so I think I fixed this with the fallowing simit added around line 40
if(tasks.length > 10) {
let newListenerLimit = tasks.length + 10; // do we need 10 more maybe not but maybe oher things are using the normal 10 limit
grunt.log.oklns(
'Warning: There are more tasks than your event listener limit. Incresing this to '+ newListenerLimit
+ "// process.stdout.setMaxListeners(newListenerLimit);"
);
process.stdout.setMaxListeners(newListenerLimit);
process.stderr.setMaxListeners(newListenerLimit);
}
//just above async.eachLimit(tasks, options.limit, (task, next) => {
Hi, i have been using this and just restarting in my dev proccess ;) but am trying to track down why my concurrent bundling is leaky. to tighten up the whole process. Does anyone have insight into this problem. I am watching many code files for different bundles
Looking into this it might be related to https://github.com/node-fetch/node-fetch/issues/1295#issuecomment-921178548
Will keep poking around but it seems over time my project crashes. not sure exactly where the leak is this is just one lead.