Last active
November 17, 2015 14:03
-
-
Save sh4869/cfd92cd12e0e4f1accee to your computer and use it in GitHub Desktop.
Gulp file for haml in Windows; please see http://sh4869.hatenablog.com/entry/2015/11/17/200237
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require('gulp'); | |
var haml = require('gulp-ruby-haml'); | |
gulp.task('haml', function() { | |
gulp.src('./*.haml') | |
.pipe(haml({encodings: "UTF-8"})) | |
.pipe(gulp.dest('./')); | |
}); | |
gulp.task('watch',function(){ | |
gulp.watch('./*.haml',['haml']); | |
}); | |
gulp.task('default',['haml','watch']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment