From 38c31a74a28df20dc7b5ce487cb129ed71fe463a Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Tue, 24 Oct 2017 11:23:18 -0700 Subject: [PATCH] Allow run-pr script to pass arguments to npm start --- scripts/run-pr.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run-pr.sh b/scripts/run-pr.sh index de020c75..8faab3f9 100755 --- a/scripts/run-pr.sh +++ b/scripts/run-pr.sh @@ -13,4 +13,5 @@ git rebase master npm install NODE_ENV=production npm run build npm test || true -npm start +shift +npm start -- "$@"