gulp plugin to send messages based on Vinyl Files or Errors to Mac OS X, Linux or Windows using the node-notifier module. Fallbacks to Growl or simply logging
MIT License
591
stars
40
forks
source link
gulp-notify: [Error running notifier] Could not send message: error is not defined when try to import styles from other directory #141
app here is a global object for all tasks, were all pathes and common plugins are imported. I also heve a main.scss file and some other files, My scss task works fine when I import in main.scss the files, which are in the same directory as main.scss, like this:
@import "./fonts.scss";
But when I try to import in main.scss the file, which is in other directory like this:
@import "./base/mixins.scss";
Gulp throws an error in console:
gulp-notify: [Error running notifier] Could not send message: error is not defined
Also the weird is I have a plumber in my task, but the error throws only in console.
P.S. I could attach all my files including the gulpfile if you need it. And sorry for my poor English.
I have this gulp task for convert scss to css files.
app
here is a global object for all tasks, were all pathes and common plugins are imported. I also heve amain.scss
file and some other files, Myscss
task works fine when I import inmain.scss
the files, which are in the same directory asmain.scss
, like this:@import "./fonts.scss";
But when I try to import inmain.scss
the file, which is in other directory like this:@import "./base/mixins.scss";
Gulp throws an error in console:Also the weird is I have a plumber in my task, but the error throws only in console.
P.S. I could attach all my files including the gulpfile if you need it. And sorry for my poor English.