-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not reloading in php #8
Comments
Do you embed the php call inside HTML body? |
Same here with a docker apache: webdevops/php-apache on Windows. But I also get no refresh with plain html if there is no html backbone. I think there are many cases where you need it to work without a complete html backbone. ReproduceFile index.html with content Hello World!
When index.html looks like <!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Titel</title>
</head>
<body>
Hello World!
</body>
</html> all works as expected. |
Thanks timmornYE, that fixed it for me. |
Thank you @timmornYE ! It also fixed it for me. Once I added the HTML backbone, the extension works as expected. <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body> For PHP development, my workaround is to include a header on every page rendered by apache. To finish, thank you @Jasonlhy for this great extension !! edit : I am using "Browser sync: Proxy mode in browser" with open folder |
Thank you @timmornYE. Your answer in this older thread just solved the problem for me. I did some further testing. It looks like the only necessary tags iare the HTML and body tags.
|
Hello, (first sorry about my english)
Im having a error with your wonderfull extension, when in use it on a php proyect the browser stop reloading, if the php file don't have any php call (plain html only) the extension works, but when i add a php call (for example, echo 'hi';) then stop working.
Im using a xampp server with the proxy mode in browser in local.
Regards!
The text was updated successfully, but these errors were encountered: