When I run watch (or dev) i dont get notifications popup
webpack.mix.js
`const { mix } = require('laravel-mix');
mix.autoload({
jquery: ['$', 'jQuery', 'window.jQuery'],
tether: ['Tether', 'window.Tether']
});
mix.js([
'node_modules/jquery/dist/jquery.js',
'resources/assets/js/app.js',
'node_modules/tether/dist/js/tether.js',
'node_modules/vue-moment/vue-moment.js',
'node_modules/bootstrap/dist/js/bootstrap.js'
], 'public/js/app.js')
.sass('resources/assets/sass/app.scss', '../resources/assets/build/app.css')
.combine([
'node_modules/vue-multiselect/dist/vue-multiselect.min.css',
'resources/assets/build/app.css'
], 'public/css/app.css');`
I'm not using homestead, but i'm runing "sudo npm run watch" from a terminal Screen
Not sure. I just tested, and notifications seem to be displaying properly. Make sure your OS isn't blocking them.
Mix just defers to a notification plugin, so we don't have much control over this.
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
Most helpful comment
Using Linux Mint 18.3, I needed to install the
libnotify-binpackage to have notifications displayed. Probably works on Ubuntu as well:sudo apt-get install -y libnotify-bin