jakejs / jake

JavaScript build tool, similar to Make or Rake. Built to work with Node.js.
http://jakejs.com
Apache License 2.0
1.96k stars 190 forks source link

Fix use of invoke() in concurrent tasks #397

Closed bno1 closed 3 years ago

bno1 commented 3 years ago

Fix for #396 I added a test case and wrote a quick fix. Note that this doesn't fix the duplicate calls to handlePrereqDone, but it prevents the index from being incremented twice. I don't think it's the best solution tbh, but it works.

mde commented 3 years ago

This is not a supported use-case. Please see the writeup in #396 to understand why.