From 9a49cb536bbb0a61c849c6d9faae2a7dc92e60b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Fri, 1 Sep 2017 11:29:42 +0200 Subject: [PATCH] Run ./gulp script when deploying, rather than running gulp directly This ensures dependencies are rebuilt when they changed. --- rsync_ui.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rsync_ui.sh b/rsync_ui.sh index d07f901..feb7a77 100755 --- a/rsync_ui.sh +++ b/rsync_ui.sh @@ -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 ***"