Browse Source

make npm run watch start with a build

Gregg Tavares 6 years ago
parent
commit
4d61182661
1 changed files with 1 additions and 0 deletions
  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']);
 };