Using Gulp With Laravel Elixir - Disable Tray Icon Messages?
When I use gulp
with Laravel Elixir tasks in it using the command line on Windows, every time it runs messages are displayed in a tray icon. I have to click on the text-balloons to make gulp
finish its tasks. I find this very annoying.
What is causing this tray icon to appear on Windows, and how to disable it, or make it not necessary to click on the balloon ?
Answer
Disable gulp-notify
If you are running on a system that handles notifications poorly or you simply do not wish to use gulp-notify but your project does? You can disable gulp-notify by using enviroment variable DISABLE_NOTIFIER.
export DISABLE_NOTIFIER=true; This will disable all methods; notify(), notify.onError and notify.withReporter.
You can read more about it in here
So if you want to disable your gulp notifications just add this to your gulp file, before requiring laravel-elixir.
process.env.DISABLE_NOTIFIER = true;
var elixir = require('laravel-elixir');
You can
process.env.DISABLE_NOTIFIER = true;
var elixir = require('laravel-elixir');
You can read more about it in this issue
Related Questions
- → "failed to open stream" error when executing "migrate:make"
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS - Conditionally Load a Different Page
- → Make a Laravel collection into angular array (octobercms)
- → In OctoberCMS how do you find the hint path?
- → How to register middlewares in OctoberCMS plugin?
- → Validating fileupload(image Dimensions) in Backend Octobercms
- → OctoberCMS Fileupload completely destroys my backend
- → How do I call the value from another backed page form and use it on a component in OctoberCms