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
Sun, May 29, 6:16 AM (2 d)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ef/a2/31cee5cdc74b28448dca6cc76d4e

Event Timeline