diff --git a/scripts/build.sh b/scripts/build.sh index 5f6095c9..f52348d2 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -6,6 +6,12 @@ target=$1 echo "build frontend" echo +if [ ! -f 'ffplayout-frontend/package.json' ]; then + git submodule update --init +else + git submodule update --remote --merge +fi + yes | rm -rf public cd ffplayout-frontend