Explorar o código

Add watch task to gulpfile.js

Jay Salvat %!s(int64=10) %!d(string=hai) anos
pai
achega
ee44d944c1
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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',