소스 검색

make npm run watch start with a build

Gregg Tavares 6 년 전
부모
커밋
4d61182661
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Gruntfile.js

+ 1 - 0
Gruntfile.js

@@ -202,6 +202,7 @@ module.exports = function(grunt) {
   });
 
   grunt.registerTask('build', ['clean', 'copy:main', 'buildlessons']);
+  grunt.registerTask('buildwatch', ['build', 'watch']);
 
   grunt.registerTask('default', ['eslint', 'build']);
 };