Search code examples
notificationsgulplaravel-elixir

Disable gulp notifications?


I use gulp and laravel elixir for building a website. Everytime I do gulp or gulp --production in my editor (geany), 3 desktop notifications pop up. (gnome 3.18.2). Also when I do gulp watch the notifications appear.

Can I disable these messages or let them show up only in the terminal?


Solution

  • add process.env.DISABLE_NOTIFIER = true; in first line of your gulpfile.js. and this line :

    if you want disable only in local :

    if (process.argv[2] == '--local') {
        process.env.DISABLE_NOTIFIER = true;
    }