Skip to content

Instantly share code, notes, and snippets.

@tristola
Last active August 29, 2015 14:13
Show Gist options
  • Save tristola/7ea400d4e3ae59aa7bd3 to your computer and use it in GitHub Desktop.
Save tristola/7ea400d4e3ae59aa7bd3 to your computer and use it in GitHub Desktop.
Using directory for gulp tasks
// npm install --save-dev require-dir
var requireDir = require('require-dir');
var dir = requireDir('./tasks', {recurse: true});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment