From 469538939b3b59df9e946db7be569adcf0ea35a7 Mon Sep 17 00:00:00 2001 From: Pablo Marco del Pont Date: Thu, 8 Nov 2018 17:13:28 -0300 Subject: [PATCH] =?UTF-8?q?-=20Agregu=C3=A9=20tareas=20gulp.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gulpfile.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 832aa83..8aae21d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -88,3 +88,12 @@ gulp.task('default', ['webserver']); gulp.task('watch', function() { gulp.watch([paths.srcJS, paths.srcViews], ['uglify']); }); + +gulp.task('copy', ['uglify'], function() { + return gulp.src('dist/*.js') + .pipe(gulp.dest('../../wrapper-demo/node_modules/foca-crear-nota-pedido/dist/')); +}); + +gulp.task('watchAndCopy', function() { + return gulp.watch([paths.srcJS], ['copy']); +}); -- 1.9.1