Live Server

Live Server

Table of contents

No heading

No headings in the article.

Live Server is a popular extension for Visual Studio Code (VSCode), a code editor developed by Microsoft. Live Server is designed to simplify web development by providing a local development server with live reloading capabilities. Here are some key features of Live Server:

  1. Local Development Server:

    • Live Server sets up a local development server on your machine, allowing you to run and test your web applications locally.
  2. Live Reloading:

    • It provides live reloading functionality, meaning that when you make changes to your HTML, CSS, or JavaScript files, the browser will automatically refresh to reflect those changes without requiring manual page reloading.
  3. Support for Static Files:

    • Live Server supports serving static files like HTML, CSS, JavaScript, images, and more. It helps you quickly preview your web pages during development.
  4. Support for Dynamic Pages:

    • It works well with dynamic pages and applications, making it a useful tool for both static and dynamic web development.
  5. Browser Compatibility:

    • Live Server is designed to work with various web browsers, ensuring a consistent development experience across different platforms.
  6. Easy to Use:

    • It's easy to set up and use. Once installed, you can start the server with just a few clicks, and it will handle the rest.

To use Live Server with Visual Studio Code:

  1. Install the "Live Server" extension from the VSCode marketplace.

  2. Open the HTML file you want to work on.

  3. Right-click anywhere in the HTML file and select "Open with Live Server" from the context menu.

To sum it it basically is like EXPRESS and the route and the configuration is managed by the extension itself