Starting, stopping and restarting your Web Server

Every time you open one of your projects, SourceLair will attempt to start its Web Server automatically. On top of this, you can manage your Web Server’s lifecycle manually by starting, stopping and restarting it at will.

Via the Command Palette

Open the Command Palette and type in any of the following commands to manage your project’s Web Server lifecycle.

Command

Description

Web Server: Start

Start your project's Web Server, if not already running

Web Server: Stop

Stop your project's Web Server, if it's running

Web Server: Restart

Restart your project's Web Server

Via the Sidebar

Start Web Server

In order to start your project’s Web Server via the Sidebar, click the play button, above the eye button when your server is not already running.

Stop Web Server

In order to stop your project’s Web Server via the Sidebar, click the stop button, above the eye button when your server is running.