Skip to content

Commit

Permalink
Merge pull request tompollard#11 from davidsan/fix-grunt-notify
Browse files Browse the repository at this point in the history
Enable Grunt notifications options
  • Loading branch information
tompollard committed Aug 6, 2015
2 parents a530f88 + ef5375a commit aabd1ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Expand Up @@ -26,7 +26,6 @@ module.exports = function(grunt) {
options: {
enabled: true,
max_jshint_notifications: 5, // maximum number of notifications from jshint output
title: "Thesis compilation", // defaults to the name in package.json, or will use project directory's name
success: true, // whether successful grunt executions should be notified automatically
duration: 2 // the duration of notification in seconds, for `notify-send only
}
Expand Down Expand Up @@ -54,6 +53,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-open');
grunt.loadNpmTasks('grunt-express');

grunt.task.run('notify_hooks');

grunt.registerTask('default', ['make:' + type]);

grunt.registerTask('server', [
Expand Down

0 comments on commit aabd1ab

Please sign in to comment.