Menu icon Foundation

My Posts




My Comments

Preston commented on Preston's post over 3 years

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.

Preston commented on Preston's post over 3 years

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

Preston commented on Preston's post over 3 years

That didn't seem to work.

It says foundationAPI not found.

Preston commented on Preston's post over 3 years

Still giving it a try. I actually modified what I'm trying to do a bit.

I'm adding a click event to a google map and then trying to show my custom panel. I'm getting FoundationApI not found.

Preston commented on Preston's post over 3 years

Thanks Tim,

That worked. I just didn't see that exact flow on the documentation for an existing project. Might be a good idea to add that.

Posts Followed

No Content

Following

    No Content

Followers

My Posts

My Comments

You commented on Preston's post over 3 years

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.

You commented on Preston's post over 3 years

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

You commented on Preston's post over 3 years

That didn't seem to work.

It says foundationAPI not found.

You commented on Preston's post over 3 years

Still giving it a try. I actually modified what I'm trying to do a bit.

I'm adding a click event to a google map and then trying to show my custom panel. I'm getting FoundationApI not found.

You commented on Preston's post over 3 years

Thanks Tim,

That worked. I just didn't see that exact flow on the documentation for an existing project. Might be a good idea to add that.

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content