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
Fri, Dec 4, 11:53 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
14/fe/6128deb1b4274d3a8aeba4185ad9

Event Timeline