ritwickdey / vscode-live-server

Launch a development local Server with live reload feature for static & dynamic pages.
https://ritwickdey.github.io/vscode-live-server
MIT License
5.66k stars 1.22k forks source link

HTML Code, downloads instead of Executing #2824

Closed jeromelomi closed 11 months ago

jeromelomi commented 12 months ago

I'm submitting a...


[ *] Other: <!-- Please describe: -->
``` HTML Code, downloads instead of Executing, when I click Go Live, Chrome will open and when I click my HTML code, it downloads the file.

## Current behaviour

<!-- Describe how the issue manifests. --> HTML code downloads instead of executing

## Expected behaviour

<!-- Describe what the desired behaviour would be. --> It should show the result of the coded program

## Environment

```HTML
Browser:

- [ *] Chrome (desktop) Version 116.0.5845.180 (Official Build) (64-bit)
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [] IE version XX
- [* ] Edge version Version 116.0.1938.76 (Official build) (64-bit)

For Tooling issues:

- Live Server: <!-- 5.6.1--> 
- Platform:  <!-- Windows 10 64 bit -->
- Visual Studio Code: <!-- `1.82.0` -->
```code so far (it is just a simple code)
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <!--meta name viewport for mobile device compatibility-->>
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <link href="styel.css" rel="stylesheet">
        <title>TEST</title>
    </head>

<h1>TEST WEB</h1>

</html>

## Others

<!-- Anything else ... -->
jeromelomi commented 11 months ago

This has been resolved