Skip to content

Instantly share code, notes, and snippets.

@teamrun
Created May 21, 2014 03:09
Show Gist options
  • Select an option

  • Save teamrun/56452c1fd6b9904f60ff to your computer and use it in GitHub Desktop.

Select an option

Save teamrun/56452c1fd6b9904f60ff to your computer and use it in GitHub Desktop.

Revisions

  1. teamrun revised this gist May 21, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion guilfile-cofee-compile.js
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ var coffee = require('gulp-coffee')
    gulp.task( 'coffee', function(){
    gulp.src( 'coffee/src/*.coffee' )
    // pass dest path and file extention for gulp-changed to check if changed
    .pipe( changed('compiled/js/dest', {extention: 'js'}) )
    .pipe( changed('compiled/js/dest', {extention: '.js'}) )
    .pipe( coffee( {bare:true} ))
    .pipe( gulp.dest( 'compiled/js/dest' ) )
    } )
  2. teamrun revised this gist May 21, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion guilfile-cofee-compile.js
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ var coffee = require('gulp-coffee')
    gulp.task( 'coffee', function(){
    gulp.src( 'coffee/src/*.coffee' )
    // pass dest path and file extention for gulp-changed to check if changed
    .pipe( changed('compiled/js/dest', 'compiled/js/dest') )
    .pipe( changed('compiled/js/dest', {extention: 'js'}) )
    .pipe( coffee( {bare:true} ))
    .pipe( gulp.dest( 'compiled/js/dest' ) )
    } )
  3. teamrun created this gist May 21, 2014.
    10 changes: 10 additions & 0 deletions guilfile-cofee-compile.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    var changed = require('gulp-changed')
    var coffee = require('gulp-coffee')

    gulp.task( 'coffee', function(){
    gulp.src( 'coffee/src/*.coffee' )
    // pass dest path and file extention for gulp-changed to check if changed
    .pipe( changed('compiled/js/dest', 'compiled/js/dest') )
    .pipe( coffee( {bare:true} ))
    .pipe( gulp.dest( 'compiled/js/dest' ) )
    } )