Skip to content

Instantly share code, notes, and snippets.

@mCzolko
Last active January 3, 2016 22:59
Show Gist options
  • Save mCzolko/8531625 to your computer and use it in GitHub Desktop.
Save mCzolko/8531625 to your computer and use it in GitHub Desktop.
If you want to use CoffeeScript for Gulp config instead of JS.
// Require some necessary modules.
require('coffee-script');
var gutil = require('gulp-util');
// Specify, where is your Gulp config in CoffeeScript placed.
var gulpfile = 'Gulpfile.coffee';
// Print notification into the console.
gutil.log('Using file', gutil.colors.magenta(gulpfile));
// Execute CoffeeScript config.
require('./' + gulpfile);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment