ritwickdey / live-server-web-extension

It makes your existing server live. This is a browser extension that helps you to live reload feature for dynamic content (PHP, Node.js, ASP.NET -- Whatever, it doesn't matter)
https://chrome.google.com/webstore/detail/live-server-web-extension/fiegdmejfepffgpnejdinekhfieaogmj/
MIT License
801 stars 332 forks source link

issue not loading saying no body and head tag #22

Open 12meann opened 5 years ago

12meann commented 5 years ago

Whenever I ask to go live, it is saying live reload is not possible without body or head tag. I'm a new user. the first time i use this, it works perfectly and I loved it, but now it's not working. I have a body and head tag and always click save. If I manually open it in chrome, it's working. I can see what I input. When I right click the page with the issue, view source code. nothing is showing up. Please help. thanks.

jenstornell commented 5 years ago

I needed to add a dummy html file containing a correct header and start the server from there, just to get the server started. Then change the url to the php file.