Browsersync not reloading blade templates

Hi,

I’m using Sage 9. Yarn start launches the browsersync server, which works fine with scss files, but in a weird way with blade templates.
If I open the index page and other pages, build with other blade templates, every page is reloaded after a php blade template change. If I close the index page, no reload will take place for the other pages.
I have deleted the cache, same thing still happens.

I’m on Windows 10, XAMPP, Node 14+

Thank you,
G.

2 Likes

Self update: I managed to let it work by changing in the package.json:

“browser-sync”: “^2.26.13”
to
“browser-sync”: “~2.24.6”

Is the browser sync version coming with the clean installation of Sage 9.x broken or incompatible??

5 Likes

This fix worked for me

1 Like

this solved it for me too

1 Like