Laravel-mix没有构建通知 [英] Laravel-mix no build notification
问题描述
我正在使用Vue.js和Laravel-Mix,当我保存项目时,我没有收到任何这样的通知:
I'm using Vue.js and Laravel-Mix, when I save the project I don't receive any notification like this :
我正在运行npm run watch
.编译时,我的控制台没有显示任何错误/警告.
I'm running npm run watch
. My console doesn't display any errors / warnings when I compile.
我已经检查了webpack.mix.js
中的mix.disableSuccessNotifications();
,但是我的文件中没有该内容,我的通知正在我的操作系统上运行.我正在使用Linux Mint.
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.
我在package.json
上有此标签:
"watch": "node_modules/.bin/webpack --watch --watch-poll --config=node_modules/laravel-mix/setup/webpack.config.js",
- npm:10.10.10
- 节点:6.14.1
我有一个拥有相同项目的朋友,他得到了"Build Success"的通知.
I have a friend that has the same project and he gets the notification "Build Successful"
推荐答案
检查是否已安装notify-send
.
如果有任何问题,请遵循此步骤 https://community.linuxmint.com/tutorial/view/2177
follow this if you have any issues https://community.linuxmint.com/tutorial/view/2177
这篇关于Laravel-mix没有构建通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!