dylang / grunt-notify

Automatic Notifications when Grunt tasks fail.
https://npmjs.org/package/grunt-notify
MIT License
921 stars 73 forks source link

max_jshint_notifications doesn't work on Windows 10 #124

Open hebroin opened 8 years ago

hebroin commented 8 years ago

I set up notify_hooks to display only 1 notification for 1 second, but I always get more and for like 5 seconds.

I know the options work because the title is modified correctly.

notify_hooks: {
            options: {                
                enabled: true,
                max_jshint_notifications: 1,
                title: "Project Name",
                success: false,
                duration: 1
            }
        }
grunt.registerTask('default', '', function () {
        var taskList = [
            'jshint',
            'express:dev',
            'watch'
        ];
        grunt.task.run('notify_hooks');
        grunt.task.run(taskList);      
    });

What am I doing wrong? Thank you