Skip to content

Commit

Permalink
fix docsite-start script
Browse files Browse the repository at this point in the history
  • Loading branch information
frangio committed May 22, 2019
1 parent 0fa4160 commit 2e94b28
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/docsite.sh
Expand Up @@ -4,11 +4,12 @@

set -o errexit

npm run docgen

if [ "$1" = start ]; then
npx concurrently -n docgen,docsite --no-color \
'nodemon -w contracts -e sol,md -x npm run docgen' \
'nodemon -C -w contracts -e sol,md -x npm run docgen' \
'openzeppelin-docsite-run start'
else
npm run docgen
npx openzeppelin-docsite-run "$1"
fi

0 comments on commit 2e94b28

Please sign in to comment.