Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
calling modernizr.build in Node JS more than once at the same time #1832
How can I run 2 builds at the same time?
Then only the second callback runs, but it runs twice!
This seems to me a very odd design choice. I'd like to fix it so I can call more than 1 build at the same time in nodejs.
changed the title
Very unusual scope behaviour calling modernizr.build in Node JS
Jan 13, 2016
So, this was a stupid mistake on our (well, my) part
what was happening was clobbering of a global config object. So that when the async callback was called on the build completion, the second build's config had overwritten it. This is patched in #1832, waiting on travis to give the thumbs up then I will do another release