Menu icon Foundation
Adding gulp notify to the zurb foundation 6 template

I recently switched over to gulp as a long time user of grunt. I'm trying to use the zurb template and add in the notify (toast on errors) capability but as you might guess there isn't a lot of info on how to do this out there. Has anyone done this or have an example?

I recently switched over to gulp as a long time user of grunt. I'm trying to use the zurb template and add in the notify (toast on errors) capability but as you might guess there isn't a lot of info on how to do this out there. Has anyone done this or have an example?

foundation 6ZURB Template

I recently switched over to gulp as a long time user of grunt. I'm trying to use the zurb template and add in the notify (toast on errors) capability but as you might guess there isn't a lot of info on how to do this out there. Has anyone done this or have an example?

I recently switched over to gulp as a long time user of grunt. I'm trying to use the zurb template and add in the notify (toast on errors) capability but as you might guess there isn't a lot of info on how to do this out there. Has anyone done this or have an example?

Preston over 3 years ago

Basically trying to get foundation to notify out sass, js errors via mac toast notifications.

Preston over 3 years ago

I did get this working in my custom build

I added the following to the gulpfile.js and then npm installed the plugins

var notify = require("gulp-notify");
var gutil = require('gulp-util');
var plumber = require('gulp-plumber');

and then used this in the Sass Task

```// Compile Sass into CSS

 // .on('error', $.sass.logError))
//added gulp notify on sass 


  .on('error', notify.onError({

      title: "SASS Error",
      message: "",
      sound: "Basso"
      })))

I'm still trying to get this into my foundation apps build with little success so far.