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
Sat, Aug 13, 2:45 PM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a9/15/ccaa9677eb60d46f0956ec0fd837

Event Timeline