gulp copying from source to destination is not working -
var gulp=require('gulp'), gutil=require('gulp-util'); gulp.task('default',function(){ gulp.src('g:\node\node_modules\npm\test\gulpfile.js').pipe(gulp.dest('g:\node\node_modules\npm\test\sample')); return gutil.log("inside"); });
i'm beginner gulp.js . have tried cpoy file source loaction destination location. doesn't show errors. file not copied in destination location. tried different locations still doesn't work.
try with
gulp.task('default', function(){ return gulp.src('./gulpfile.js') .pipe(gulp.dest('./sample/'); });
Comments
Post a Comment