Roots Discourse

BrowserSync and https, no page reloads for php changes

Is there any solution to using https for local development and having browsersync actually reload the page when you’re editing blade files?

Our new workflow uses remote development environments in Kubernetes and forces every url to be https. So now, browsersync in Sage 9 only injects css changes but does not reload the page for php changes.

I understand this is a bug in the abandoned package bs-html-injector. But, has anyone come up with a solution for replacing this dependency in Sage 9, or some other workaround?

If not, and this works in Sage 10, how hard would it be to update themes from 9 to the 10 beta? Right now we have to manually refresh to see php changes which is a major pain.

Thank you

1 Like