浏览代码

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']);
 };