diff --git a/gulpfile.js b/gulpfile.js index d88fd84..3676ce9 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -17,7 +17,12 @@ var paths = { dist: 'dist/' }; -gulp.task('templates', function() { +gulp.task('clean', function() { + return gulp.src(['tmp', 'dist'], {read: false}) + .pipe(clean()); +}); + +gulp.task('templates', ['clean'], function() { return pump( [ gulp.src(paths.srcViews), @@ -73,3 +78,7 @@ gulp.task('clean-post-install', function(){ }); gulp.task('default', ['webserver']); + +gulp.task('watch', function() { + gulp.watch([paths.srcJS, paths.srcViews], ['uglify']); +}); diff --git a/src/views/modal-moneda.html b/src/views/modal-moneda.html index 5683eca..652fb24 100644 --- a/src/views/modal-moneda.html +++ b/src/views/modal-moneda.html @@ -1,11 +1,11 @@ -