Closed guillaumepalayer closed 9 years ago
PS: 'newFilesOnly' tries to check if 2561 files already exist on the disk. It's huge, isn't it ? But, i can't bypass this option given the number of files.
Fix this issue by scheduling the "immediate" execution of callback after I/O events callbacks and before setTimeoutand setInterval – Read more here :octocat: : https://github.com/andismith/grunt-responsive-images/pull/87
Hi @andismith,
I try to resize a few hundreds images (jpg, png) :smile: It perfectly works the first time i run the task
grunt responsive_images:server
.Nevertheless, when i run the task for a second time, the error Warning: Maximum call stack size exceeded occurs – when
newFilesOnly
is running.This is the output:
Here is the grunt task:
and here is how i register the task
8.1
0.10.26
0.4.5
0.1.6
Any help much appreciate.