Laravel-mix没有构建通知

Bru*_*ine 3 linux notifications laravel vue.js laravel-mix

我正在使用Vue.js和Laravel-Mix,当我保存项目时,我没有收到这样的通知:

建立成功通知

我在跑步npm run watch。编译时,我的控制台不显示任何错误/警告。

在此处输入图片说明

我已经检查了webpack.mix.jsmix.disableSuccessNotifications(); 文件中没有该通知,我的通知正在我的操作系统上运行。我正在使用Linux Mint。

我有这个package.json

"watch": "node_modules/.bin/webpack --watch --watch-poll --config=node_modules/laravel-mix/setup/webpack.config.js",
Run Code Online (Sandbox Code Playgroud)
  • npm:3.10.10
  • 节点:6.14.1

我有一个具有相同项目的朋友,他得到通知“ Build Success”

pan*_*ter 6

使用Linux Mint 18.3,我需要安装libnotify-bin软件包以显示通知。可能也可以在Ubuntu上工作:

sudo apt-get install -y libnotify-bin


Sér*_*eis 4

检查您是否已notify-send安装。

如果您有任何问题,请按照此操作 https://community.linuxmint.com/tutorial/view/2177