Browse Source

Add watch task to gulpfile.js

Jay Salvat 10 years ago
parent
commit
ee44d944c1
1 changed files with 4 additions and 0 deletions
  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',