Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel-mix no build notification

I'm using Vue.js and Laravel-Mix, when I save the project I don't receive any notification like this :

Build Successful notification

I'm running npm run watch. My console doesn't display any errors / warnings when I compile.

enter image description here

I already checked the webpack.mix.js for mix.disableSuccessNotifications(); and I don't have that on my file, my notifications are working on my OS. I'm using Linux Mint.

I have this on package.json:

"watch": "node_modules/.bin/webpack --watch --watch-poll --config=node_modules/laravel-mix/setup/webpack.config.js",
  • npm : 3.10.10
  • node : 6.14.1

I have a friend that has the same project and he gets the notification "Build Successful"

like image 589
Brunaine Avatar asked Apr 10 '18 13:04

Brunaine


Video Answer


1 Answers

Using Linux Mint 18.3, I needed to install the libnotify-bin package to have notifications displayed. Probably works on Ubuntu as well:

sudo apt-get install -y libnotify-bin

like image 122
panepeter Avatar answered Nov 07 '22 14:11

panepeter