Sage: Browsersync session not injecting updates from Blade templates

Created on 19 Mar 2017  Â·  9Comments  Â·  Source: roots/sage

as of #1817, changes to blade templates in a browsersync session should be injected. this is not working for all users. updating the delay as suggested does not resolve the issue

related thread: https://discourse.roots.io/t/watching-blade-files-in-sage-9-beta-2/8816

bug

Most helpful comment

We're also seeing this issue. As above, page doesn't refresh after making changes to PHP or blade files, changing the delay setting for Browersync has no effect. Style & script assets inject fine.

All 9 comments

If you remove bs-htmlinjector (or whatever it is), does that cause the page to reload when making changes to php files?

Let's continue discussion in the PR

https://github.com/roots/sage/pull/1862

I think we should recheck this, I just created a new project using the latest sources from here and got exactly the same issue (using https)

We're also seeing this issue. As above, page doesn't refresh after making changes to PHP or blade files, changing the delay setting for Browersync has no effect. Style & script assets inject fine.

I have the exactly same issue: Page doesn't refresh after making changes to PHP or blade files, changing the delay setting for Browersync has no effect. Style & script assets inject fine.

I'm having exactly this issue as well. I can't seem to find any solution to this at all...

the solution to this problem should be a properly configured theme (devUrl and publicPath in resources/assets/config.json)

if you need further help, please visit https://discourse.roots.io/

The problem is that those two are perfectly configured. Just blade files won't update.

another problem is using github for support — all replies trigger notifications to people watching this project. this is a bug that has been solved and not popped up for quite some time, so please visit https://discourse.roots.io/ for further help

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nicooprat picture nicooprat  Â·  5Comments

Geczy picture Geczy  Â·  5Comments

swalkinshaw picture swalkinshaw  Â·  6Comments

retlehs picture retlehs  Â·  3Comments

inverse picture inverse  Â·  5Comments