Add npm watch alias

This commit is contained in:
Jake Howard 2016-11-19 23:06:01 +00:00
parent 82d3e1376d
commit 0a66162c51

View file

@ -14,6 +14,17 @@ nb() {
fi fi
} }
nw() {
if [ $# -eq 0 ]; then
command npm run watch
else
for arg in "$@"
do
command npm run watch-${arg}
done
fi
}
nr() { nr() {
for arg in "$@" for arg in "$@"
do do