Commit 469538939b3b59df9e946db7be569adcf0ea35a7
1 parent
4d3c8061b6
Exists in
master
- Agregué tareas gulp.
Showing
1 changed file
with
9 additions
and
0 deletions
Show diff stats
gulpfile.js
... | ... | @@ -88,3 +88,12 @@ gulp.task('default', ['webserver']); |
88 | 88 | gulp.task('watch', function() { |
89 | 89 | gulp.watch([paths.srcJS, paths.srcViews], ['uglify']); |
90 | 90 | }); |
91 | + | |
92 | +gulp.task('copy', ['uglify'], function() { | |
93 | + return gulp.src('dist/*.js') | |
94 | + .pipe(gulp.dest('../../wrapper-demo/node_modules/foca-crear-nota-pedido/dist/')); | |
95 | +}); | |
96 | + | |
97 | +gulp.task('watchAndCopy', function() { | |
98 | + return gulp.watch([paths.srcJS], ['copy']); | |
99 | +}); |