Only execute the compile command if the assets/vendor folder is not present

This commit is contained in:
Alex Tselegidis 2023-08-16 15:57:44 +02:00
parent 7993eb944e
commit e2b309adef

View file

@ -10,7 +10,7 @@ echo "➜ Install NPM Dependencies"
[[ -d node_modules ]] || npm install [[ -d node_modules ]] || npm install
echo "➜ Build Project Assets" echo "➜ Build Project Assets"
npx gulp compile [[ -d assets/vendor ]] || npx gulp compile
echo "➜ Listen To Incoming Requests" echo "➜ Listen To Incoming Requests"
php-fpm php-fpm