Skip to content

Instantly share code, notes, and snippets.

@srenault
Created September 29, 2014 23:00
Show Gist options
  • Save srenault/04443085e307013f720b to your computer and use it in GitHub Desktop.
Save srenault/04443085e307013f720b to your computer and use it in GitHub Desktop.
gulp.task('watch', ['compile'], function() {
var assets = Assets.ts.src.files.concat(Assets.styl.src.files);
gulp.src(assets)
.pipe(watch(assets))
.pipe(plumber())
.pipe(exec('tarifa build web', {
pipeStdout: true
}))
.pipe(exec.reporter({
err: true,
stderr: true,
stdout: true
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment