diff --git a/new-game.sh b/new-game.sh index 67966b3..7efe2aa 100755 --- a/new-game.sh +++ b/new-game.sh @@ -27,7 +27,7 @@ mkdir -p "$DEST/docs" && mv "$DEST/docs-conventions.md" "$DEST/docs/conventions. cd "$DEST" git init -q && git add -A && git commit -q -m "Begin $NAME from the game kit" -npm install --no-audit --no-fund >/dev/null 2>&1 && echo "dependencies installed" || echo "npm install failed; run it by hand" +npm install --no-audit --no-fund >/dev/null 2>&1 && (cd server && npm install --no-audit --no-fund >/dev/null 2>&1) && echo "dependencies installed" || echo "npm install failed; run it by hand (root and server/)" cat <