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 -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -