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

Popular posts from this blog

Java 3D LWJGL collision -

methods - python can't use function in submodule -

c# - ErrorThe type or namespace name 'AxWMPLib' could not be found (are you missing a using directive or an assembly reference?) -