Skip to content

Commit

Permalink
Grunt notifications options
Browse files Browse the repository at this point in the history
The options previously set for grunt-notify weren't enabled. I added `notify_hooks` to the task to be run.
I've also removed the title in the options, the title now used is the one from package.json.
  • Loading branch information
davidsan committed Jul 26, 2015
1 parent 6323919 commit ef5375a
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 All @@ -37,5 +36,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-make');
grunt.loadNpmTasks('grunt-notify');

grunt.task.run('notify_hooks');

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

0 comments on commit ef5375a

Please sign in to comment.