diff --git a/scripts/rebuild.sh b/scripts/rebuild.sh index fdefe3c..b70c1ec 100644 --- a/scripts/rebuild.sh +++ b/scripts/rebuild.sh @@ -1,6 +1,6 @@ #!/bin/bash -yarn install --production +yarn install if [ -z "`ps aux | grep "next build" | grep -v grep`" ]; then yarn build