From a42b90d215a65eca2cec2eee598240384618a06a Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 21 Sep 2014 11:02:03 -0700 Subject: [PATCH] Adding some helpful output to `nvm copy-packages` --- nvm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/nvm.sh b/nvm.sh index e543295..f685b74 100644 --- a/nvm.sh +++ b/nvm.sh @@ -850,6 +850,7 @@ nvm() { INSTALLS=$(nvm use "$VERSION" > /dev/null && npm list -g --depth=0 | tail -n +2 | \grep -o -e ' [^@]*' | cut -c 2- | \grep -v npm | xargs) fi + echo "Copying global packages from $VERSION..." echo "$INSTALLS" | xargs npm install -g --quiet ;; "clear-cache" )