Skip to content

Instantly share code, notes, and snippets.

@sh4869 sh4869/gulpfile.js
Last active Nov 17, 2015

Embed
What would you like to do?
Gulp file for haml in Windows; please see http://sh4869.hatenablog.com/entry/2015/11/17/200237
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
You can’t perform that action at this time.