{"id":20572720,"url":"https://github.com/molnarmark/sublime-live-server","last_synced_at":"2025-04-09T17:25:21.547Z","repository":{"id":41289144,"uuid":"316636190","full_name":"molnarmark/sublime-live-server","owner":"molnarmark","description":"🌍️ Launch a Development Server directly from Sublime Text","archived":false,"fork":false,"pushed_at":"2024-12-20T23:06:25.000Z","size":78,"stargazers_count":67,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T01:04:48.593Z","etag":null,"topics":["live-server","sublime","sublime-package","sublime-plugin","sublime-server","sublime-text","sublime-text-3","sublime-text-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/molnarmark/sublime-live-server","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/molnarmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-28T01:48:56.000Z","updated_at":"2025-01-28T15:47:45.000Z","dependencies_parsed_at":"2022-09-24T01:20:25.333Z","dependency_job_id":null,"html_url":"https://github.com/molnarmark/sublime-live-server","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fsublime-live-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fsublime-live-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fsublime-live-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/molnarmark%2Fsublime-live-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/molnarmark","download_url":"https://codeload.github.com/molnarmark/sublime-live-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248075867,"owners_count":21043657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["live-server","sublime","sublime-package","sublime-plugin","sublime-server","sublime-text","sublime-text-3","sublime-text-plugin"],"created_at":"2024-11-16T05:23:26.843Z","updated_at":"2025-04-09T17:25:21.526Z","avatar_url":"https://github.com/molnarmark.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/logo.png\"\u003e\n  \u003ch4 align=\"center\"\u003eLaunch a Development Server directly from Sublime Text!\u003c/h4\u003e\n\u003c/p\u003e\n\n## 📋 Introduction\n\nThis package integrates the **[Live Server](https://www.npmjs.com/package/live-server)** Node package, giving the ability to launch a local development server to serve content directly from Sublime Text.\n\n#### 💡 About Live Server:\n\n**[Live Server](https://www.npmjs.com/package/live-server)** is Node.js tool that spins up a local development server in the given directory.\n\nIt features live browser reloading, which simply means that your browser will automatically refresh the page when any change is made to your HTML \u0026 CSS files.\n\nUseful for static sites, SPAs, and general HTML/CSS fiddling.\n\n## ❗Prerequisites\n\nYou need the following software installed to use **Live Server**.\n\n- [**`Node.js`**](https://nodejs.org/)\n- [**`npm`**](https://npmjs.com) or [**`Yarn`**](https://yarnpkg.com)\n- [**`Live Server`**](https://www.npmjs.com/package/live-server) installed globally\n\nTo install Live Server globally using **`npm`**, run:\n\n```sh\nnpm install -g live-server\n```\n\nTo install Live Server globally using **`Yarn`**, run:\n\n```sh\nyarn global add live-server\n```\n\n## 🌀 Installation\n\n#### Package Control\n\nThis package is available in Package Control under the name **LiveServer**.\n\n#### As a Repository\n\n- Bring up the Command Palette (**Ctrl** + **Shift** + **p**)\n- Select **`Package Control: Add Repository`**\n- Paste https://github.com/molnarmark/sublime-live-server\n- Press Enter\n- For Windows machine, you need to change the package's config settings, check below [🔨 Settings](#-settings)\n\n## ❓ Usage\n\nThis package exposes 3 commands that can be used directly via the Command Palette, or bound to keys. These are:\n\n**`Live Server: Start`**\n\n- Maps to `live_server_start`\n\n**`Live Server: Stop`**\n\n- Maps to `live_server_stop`\n\n**`Live Server: Open In Browser`**\n\n- Maps to `live_server_open_in_browser`\n\nStatus bar messages with indicator emojis are implemented into the package, displaying information in cases such as:\n\n- 🎉 Live Server running\n- ❌ Live Server stopped\n- ✔️ Live Server status\n\nWhen the development server is running, a status message will be shown in the status bar indicating that the server is running.\nThis is shared across all views in the opened instance.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"images/statusbar.png\"\u003e\n\u003c/p\u003e\n\n## 🔨 Settings\n\nTo change your settings, bring up the Command Palette and select: **`Preferences: Live Server Settings`**\n\nThe default settings for linux are the following:\n\n```js\n// Note: These are just mappings to https://github.com/tapio/live-server#usage-from-command-line\n{\n  \"node_executable_path\": \"/usr/bin/node\",\n  \"global_node_modules_path\": \"/usr/local/lib/node_modules\",\n  \"port\": 8080,\n  \"address\": \"localhost\",\n  \"cors\": true,\n  \"browser\": \"default\",\n  \"nobrowser\": false,\n  \"wait\": 100\n}\n```\n\n#### **`node_executable_path`**\n\n- Path to the Node runtime executable. You can run **`whereis node`** in your terminal to find this.\n  - In _Windows Command Prompt_, run **`where node`**\n- ##### **`default value: /usr/bin/node`**\n\n#### **`global_node_modules_path`**\n\n- Path to the default **node_modules** directory. You can run **`npm root -g`** or **`yarn global bin`** in your terminal to find this.\n- ##### **`default value: /usr/local/lib/node_modules`**\n\n#### **`port`**\n\n- The default port for the server.\n- ##### **`default: 8080`**\n\n#### **`address`**\n\n- Host address. This should always be either localhost or 127.0.0.1.\n- ##### **`default: localhost`**\n\n#### **`cors`**\n\n- Enables CORS for any origin.\n- ##### **`default: true`**\n\n#### **`browser`**\n\n- Specifies which browser to use.\n- Valid values are:\n\n  - **`default`**\n  - **`google-chrome`**\n  - **`firefox`**\n\n- ##### **`default: default`**\n\n#### **`nobrowser`**\n\n- By setting this to true, the browser will not open the server by default\n- ##### **`default: false`**\n\n#### **`wait`**\n\n- Wait this amount of milliseconds before reloading the page after a change\n- ##### **`default: 100`**\n\n## 🔖 Credits\n\n- This package wouldn't exist without the amazing [**`Node`**](https://nodejs.org/) package also called **[Live Server](https://www.npmjs.com/package/live-server)** by **[Tapio Vierros](https://github.com/tapio)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolnarmark%2Fsublime-live-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmolnarmark%2Fsublime-live-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmolnarmark%2Fsublime-live-server/lists"}