Example #1
0
gulp.task('css', function(){
  gulp.src('./index.styl')
    .pipe(tasks.preprocess({ injectImports: devStyles }))
    .pipe(tasks.connect.reload())
    .pipe(gulp.dest('./build'));
});
Example #2
0
gulp.task('html', function(){
  gulp.src('demo/*.html')
    .pipe(tasks.wrapHtml({title: pack.name}))
    .pipe(tasks.connect.reload())
    .pipe(gulp.dest('build'));
});