Under the "notifications" key in local.config.js, you can choose when Gulp should produce native notifications.

Setting a notification setting to false, will only prevent the notification in your operating system, but it will still show on your command line output as shown on the next image.

js-badge Created with Sketch.
local.config.js
module.exports = {
  features: {...},
  notifications: {
    html: {
      linting_errors: false,
    },
    css: {
      sass_errors: false
    },
    javascript: {
      babelify_errors: true,
      uglify_errors: true,
    },
    yml: {
      validation_errors: true,
    },
    php: {
      linting_errors: false,
    },
    internal: {
      cache_rebuilding_status: false,
      cache_rebuild_error: false,
    }
  }
};

html #

linting_errors

Optionstrue, false

Defaultfalse

More info: When this option is set to true, you will be notified when HTMLHint detects an error or warning in one of your [component-name].html.twig files

This setting only does something, if you have your features.lint_html.enable set to true in local.config.js.

See the features of local.config.js for more information.

css #

sass_errors

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when LibSass runs in to an error in one of your [component-name].scss files

javascript #

browserify_errors

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when Browserify hits an error in bundling your JavaScript files.

This setting only does something, if you have your usePackages.browserify set to true in project.config.js.

See the features of project.config.js for more information.

uglify_errors

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when Uglify it is unable to minify a JavaScript file..

See the JavaScript features of the Gulp Setup for more information on Uglification.

yml #

validation_errors

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when Gulp detects that you saved a libraries.yml file that is not valid Yaml.

This setting only does something, if you have your features.validate_yml.enable set to true in local.config.js.

See the features of local.config.js for more information.

php #

linting_errors

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when Gulp detects that you saved a [component-name].theme file that is not valid PHP.

This setting only does something, if you have your features.lint_php.enable set to true in local.config.js.

See the features of local.config.js for more information.

internal #

cache_rebuilding_status

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when Gulp

  • executed the command to clear your site's cache
  • cache is done clearing.

This setting only does something, if you have your features.auto_rebuild_drupal_cache.enable set to true in local.config.js.

See the features of local.config.js for more information.

cache_rebuild_error

Optionstrue, false

Defaulttrue

More info: When this option is set to true, you will be notified when the cache clear command that you filled in under features.auto_rebuild_drupal_cache.cache_rebuild_command returned an error in your command line.

This setting only does something, if you have your features.auto_rebuild_drupal_cache.enable set to true in local.config.js.

See the features of local.config.js for more information.