Is there anything in the browser console ?
Oct 28, 2021
10
Level 2
LARAVEL mix BrowserSync not refreshing on a certain Tab
I am using laravel 8, trying to use BrowserSync. The feature is working in all the Routes except a certain route. Can't figure out why its not refreshing in '/forum' route. Here is my webpack.mix.js file:
const mix = require('laravel-mix');
mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css')
.sourceMaps()
.browserSync('127.0.0.1:8000/');
I am running php artisan serve and then npm run watch. It's working on certain routes but on a certain route.
Level 102
@dhrubanka Isnt app.js used on the page? I believe that the code for browser sync is embedded inside it
Please or to participate in this conversation.