소스 검색

Add watch task to gulpfile.js

Jay Salvat 10 년 전
부모
커밋
ee44d944c1
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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',