Run ./gulp script when deploying, rather than running gulp directly

This ensures dependencies are rebuilt when they changed.
This commit is contained in:
2017-09-01 11:29:42 +02:00
parent a9280dd05f
commit 9a49cb536b

View File

@@ -62,11 +62,7 @@ fi
echo
echo "*** GULPA GULPA PILLAR ***"
if [ -x ./node_modules/.bin/gulp ]; then
./node_modules/.bin/gulp --production
else
gulp --production
fi
./gulp --production
echo
echo "*** SYNCING PILLAR_ASSETS ***"