npm-run-all
npm-run-all copied to clipboard
Passing through globs as arguments will not work
Passing through globs as arguments will not work since internally this line will be run and the argument will then be converted by ./spawn into '[object Object]'.
I found this out while trying to pass in --scope=@org/component-* through npm-run-all into a script that runs a lerna run something task.
@sebinsua Can you try with the master branch? I ran into something similar before and submitted a PR that was merged. See https://github.com/mysticatea/npm-run-all/commit/35f86ae8e613a853ce9acffc3b2a49552e31ee62#diff-b43628fb05fb9c145424caff92dc9fc6.
You can also try putting the pattern in quotes, I believe node-shell-quote then should leave it alone.