Type cmd+p
/ctrl+p
to bring up the command pallete and pick >ext install
from the dropdown, type gulp
and select the extension, restart VSCode and you are all set.
var gulp = require('gulp-name');
.pipe(name('file'))
gulpsrc - Docs
gulp.src('scriptFiles')
.pipe(name('file'))
gulptask - Docs
gulp.task('name', function() {
// content
});
gulptaskdep - Docs
gulp.task('name', ['tasks'], function() {
// content
});
gulpdest - Docs
.pipe(gulp.dest('folder'));
gulpwatch - Docs
gulp.watch('file', ['tasks']);
gulpwcb - Docs
gulp.watch('file', function(event) {
console.log(' File '+event.path+' was '+event.type+', running tasks...');
});
gulp.task('name',['tasks'], function() {
gulp.src('files')
.pipe(plugin())
.pipe(gulp.dest('folder'));
});
** Enjoy!**