Created
April 18, 2017 07:52
-
-
Save erotte/540c0daa645b69b9543eb2fe71008765 to your computer and use it in GitHub Desktop.
run npm run recursively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias nr="_nr" | |
function _nr() { | |
for arg in $@; do npm run $arg; done; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
simple recursion over
npm run
, less typing for multiple tasks