Skip to content

Commit

Permalink
Compress output and follow standard default action
Browse files Browse the repository at this point in the history
From what I have seen, the standard default action for `grunt` is to run the build. Running `grunt watch` will run the watch task.
  • Loading branch information
mfairchild365 committed Dec 1, 2015
1 parent ffd35df commit f1d9299
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gruntfile.js
Expand Up @@ -6,6 +6,9 @@ module.exports = function(grunt) {
// Task configuration.
less: {
development: {
options: {
compress: true
},
files: {
'./www/templates/html/css/player.css': './www/templates/html/less/player.less'
}
Expand All @@ -25,5 +28,5 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-watch');

// Default task.
grunt.registerTask('default', ['watch']);
grunt.registerTask('default', ['less']);
};

0 comments on commit f1d9299

Please sign in to comment.