diff --git a/scripts/build.sh b/scripts/build.sh index 9613b6b956..ec1507aff5 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -17,6 +17,8 @@ npm run generate:editor-layer-index && npm run prep:layeroverview && npm run generate && # includes a single "refresh:layeroverview". Resetting the files is unnecessary as they are not in there in the first place npm run refresh:layeroverview && # run refresh:layeroverview a second time to propagate all calls +npm run refresh:layeroverview && # run refresh:layeroverview a third time to fix some issues with the favourite layer all calls + npm run generate:layouts if [ $? -ne 0 ]; then