Page MenuHome

gulp
No OneTemporary

#!/bin/bash -ex
GULP=./node_modules/.bin/gulp
function install() {
npm install
touch $GULP # installer doesn't always touch this after a build, so we do.
}
# Rebuild Gulp if missing or outdated.
[ -e $GULP ] || install
[ gulpfile.js -nt $GULP ] && install
$GULP
exec $GULP watch

File Metadata

Mime Type
text/x-shellscript
Expires
Wed, May 25, 8:02 AM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
d8/71/908aabb974142916493cad81b235

Event Timeline