Skip to content
This repository has been archived by the owner on Nov 8, 2019. It is now read-only.

Commit

Permalink
feat: (Grunt) Set grunt default command to watch and setup dev command
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Dec 9, 2015
1 parent 366fd79 commit 069071a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Gruntfile.js
Expand Up @@ -279,8 +279,6 @@ module.exports = function (grunt) {

});

grunt.registerTask('default', ['less', 'cssmin', 'copy']);

grunt.registerTask('build', 'Bumps version and builds JS.', function(version_type) {
if (version_type !== 'patch' && version_type !== 'minor' && version_type !== 'major') {
version_type = 'minor';
Expand Down Expand Up @@ -311,5 +309,11 @@ module.exports = function (grunt) {
}
});

grunt.registerTask('dev', ['watch']);
grunt.registerTask('dev', [
'less',
'cssmin',
'copy',
]);

grunt.registerTask('default', 'watch');
};

0 comments on commit 069071a

Please sign in to comment.