I had the same issue with 'gulp-notify' although I think the eventScanning is working.
Laravel Elixer - gulp watch error in Homestead
Hi Laravel community,
I am using the new Elixer in a fresh Laravel 5 install through Homestead. When I try to execute the command gulp watch I receive the following error
vagrant@homestead:~/sites/laravel5-dev$ gulp watch
[20:09:04] Using gulpfile ~/sites/laravel5-dev/Gulpfile.js
[20:09:04] Starting 'sass'...
[20:09:05] Starting 'routeScanning'...
[20:09:05] Starting 'eventScanning'...
[20:09:06] gulp-notify: [Laravel Elixir]
[20:09:06] Finished 'sass' after 1.37 s
[20:09:06] gulp-notify: [Error in notifier] Error in plugin 'gulp-notify'
not found: notify-send
Events scanned!
[20:09:06] Finished 'eventScanning' after 965 ms
Routes scanned!
[20:09:07] Finished 'routeScanning' after 1.04 s
[20:09:07] Starting 'watch'...
[20:09:07] Finished 'watch' after 81 ms
Events and Routes are scanned correctly. The 'problem' is that gulp-notify won't execute because of a missing dependency.
Does anyone else experiencing this behaviour and what is the solution to tackle this issue? Should I run the command from my local /sites folder with npm and gulp installed globally?
I think you can't run gulp-notify from inside a VM. You need to run the watch task from the shared directory of code on the host system. I don't think they have a way for notifications inside the VM to bubble up to the host.
Please or to participate in this conversation.