2019-08-13 15:36:46 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
# https://github.com/shelljs/shelljs
|
|
|
|
|
# https://github.com/shelljs/shelljs#exclude-options
|
|
|
|
|
PROJECT=$1
|
|
|
|
|
|
|
|
|
|
if [ -z "$PROJECT" ]
|
|
|
|
|
then
|
|
|
|
|
# Default
|
2026-06-12 16:04:56 -04:00
|
|
|
pnpm --filter @ohif/app run dev:viewer
|
2019-08-13 15:36:46 -04:00
|
|
|
else
|
2026-06-12 16:04:56 -04:00
|
|
|
pnpm --filter @ohif/app run "dev:$PROJECT"
|
2019-08-13 15:36:46 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
read -p 'Press [Enter] key to continue...'
|