For Windows:
In latest L5 (for the date of the post) you can change this file:
node_modules/laravel-elixir/ingredients/commands/Notification.js
to:
var notify = require('gulp-notify');
module.exports = function() {
this.title = 'Laravel Elixir';
this.message = function(message) {
return notify({
title: this.title,
subtitle: '',
icon: __dirname + '/../../icons/laravel.png',
message: message
});
};
this.error = function(e, subtitle) {
return notify.onError({
title: this.title + ': ' + subtitle,
subtitle: '',
icon: __dirname + '/../../icons/fail.png',
message: 'Error: <%= error.message %>'
})(e);
};
this.forPassedTests = function(framework) {
return notify({
title: this.title + ': Passed!',
subtitle: '',
icon: __dirname + '/../../icons/pass.png',
message: 'Your ' + framework + ' tests passed!'
});
};
this.forFailedTests = function(e, framework) {
return notify.onError({
title: this.title + ': Failed!!!',
subtitle: '',
icon: __dirname + '/../../icons/fail.png',
message: 'Your ' + framework + ' tests failed!'
})(e);
};
};