tmodjs's gulp version.
$ npm install gulp-tmod --save-dev
var tmodjs = require('gulp-tmod');
gulp.task('default', function(){
return gulp.src('./test/tpl/**/*.html')
.pipe(tmodjs({
base: './test/tpl',
combo: true,
output: './test/dist'
}));
});
gulp.task('watch', function(){
return gulp.src('./test/tpl/**/*.html')
.pipe(watch(function(files){
files.pipe(tmodjs({
base: './test/tpl',
combo: true,
output: './test/dist'
}));
}));
});
More see gulp-watch
$ npm test
See tmodjs
Issues should be reported on the tmodjs issue tracker