Relative Content

Tag Archive for javascripttypescriptwebpackbrowser-synclite-server

Lite-Server running script twice, interjecting wrong HTML tag

I have a simple website built using Node.js and TypeScript, which is prepared for distribution through webpack. When I open the output in browser, it works just fine. However, if I open the page using lite-server and browser-sync, I get an odd error – the script is run twice and odd HTML is interjected.