Ver Fonte

Add watch task to gulpfile.js

Jay Salvat há 10 anos atrás
pai
commit
ee44d944c1
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      gulpfile.js

+ 4 - 0
gulpfile.js

@@ -239,6 +239,10 @@
         );
     });
 
+    gulp.task("watch", function() {
+        gulp.watch("./src/**/*", [ "build" ]);
+    });
+
     gulp.task('build', sync([
         'lint',
         'clean',