yandeu / five-server

⚡ Development Server with Live Reload Capability. (Maintained Fork of Live Server)
https://www.npmjs.com/package/five-server
Other
162 stars 14 forks source link

no-js tag added #74

Open outdoorsdev opened 1 year ago

outdoorsdev commented 1 year ago

I am writing twee code for a twine game, compiling using twee, then using five server to run it live.

When compiling and running on five server, a "no-js" tag is added to the html only when running it live. The html file that is compiled does not include this. As a result the game doesn't run.

If I do the same with live server (not five), this doesn't happen.

yandeu commented 1 year ago

What is a "no-js" tag? Do you mean <noscript>?

outdoorsdev commented 1 year ago

In the very top tag, a no-js tag is added.

The page starts with and no javascript is rendered. I think it's a browser check that adds it in, even though my browsers support javascript and it's allowed.