All Projects β†’ molnarmark β†’ sublime-live-server

molnarmark / sublime-live-server

Licence: MIT license
🌍️ Launch a Development Server directly from Sublime Text

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to sublime-live-server

Sublime-Pretty-Shell
🐚 Shell Script Formatter / Syntax Checker (Powered by shfmt)
Stars: ✭ 28 (-42.86%)
Mutual labels:  sublime-text, sublime-text-3, sublime-package, sublime-text-plugin, sublime-plugin
sublime-import-helper
A Sublime Text Plugin that helps you to import your modules.
Stars: ✭ 69 (+40.82%)
Mutual labels:  sublime-text, sublime-package, sublime-text-plugin, sublime-plugin
Sublimeallautocomplete
Extend Sublime autocompletion to find matches in all open files of the current window
Stars: ✭ 906 (+1748.98%)
Mutual labels:  sublime, sublime-text, sublime-text-3, sublime-package
Carbonsublime
πŸš€ A Sublime Text 3 Plugin for Carbon. (https://carbon.now.sh)
Stars: ✭ 104 (+112.24%)
Mutual labels:  sublime, sublime-text, sublime-text-3, sublime-package
zephir-sublime
Sublime Text syntax highlighting for for Zephir
Stars: ✭ 41 (-16.33%)
Mutual labels:  sublime-text, sublime-package, sublime-text-plugin, sublime-plugin
simple-ftp-deploy
This package for Sublime Text 3 give you possibility to auto upload file to FTP server when you save local file.
Stars: ✭ 16 (-67.35%)
Mutual labels:  sublime-text, sublime-text-3, sublime-text-plugin, sublime-plugin
sublime-text
Subime Text 相关衄源攢集整理
Stars: ✭ 62 (+26.53%)
Mutual labels:  sublime-text, sublime-text-3, sublime-package, sublime-text-plugin
CSSFontFamily
CSSFontFamily is a Sublime Text plugin with a collection of font stacks autocomplete.
Stars: ✭ 15 (-69.39%)
Mutual labels:  sublime-text, sublime-text-3, sublime-package, sublime-text-plugin
eRCaGuy dotfiles
.bashrc file, terminal prompt that shows current git branch, Arduino setup, Eclipse setup, git diff with line numbers, helpful scripts, improved Linux productivity, etc.
Stars: ✭ 84 (+71.43%)
Mutual labels:  sublime, sublime-text, sublime-text-3
Coffeescript Sublime Plugin
Syntax highlighting and checking, commands, shortcuts, snippets, compilation and more.
Stars: ✭ 296 (+504.08%)
Mutual labels:  sublime, sublime-text, sublime-text-3
Sublime-uroboroSQL-formatter
Beautiful SQL Formatter for Sublime Text 3
Stars: ✭ 25 (-48.98%)
Mutual labels:  sublime-text-3, sublime-package, sublime-plugin
Milotic
Color Full Theme for All Text Editors!
Stars: ✭ 23 (-53.06%)
Mutual labels:  sublime, sublime-text, sublime-text-3
sublime-text-theme-switcher-menu
Painless theme selection in Sublime Text ⚑
Stars: ✭ 18 (-63.27%)
Mutual labels:  sublime-text, sublime-text-3, sublime-package
SublimeDiscordRP
πŸ“„ Discord rich presence for Sublime Text
Stars: ✭ 123 (+151.02%)
Mutual labels:  sublime-text-3, sublime-package, sublime-text-plugin
Ayu
πŸŽ¨πŸ–Œ Modern Sublime Text theme
Stars: ✭ 3,933 (+7926.53%)
Mutual labels:  sublime, sublime-text, sublime-text-3
Nineties
πŸ’Ύ Colors for World Wide Web pioneers
Stars: ✭ 16 (-67.35%)
Mutual labels:  sublime, sublime-text, sublime-text-3
Nord Sublime Text
An arctic, north-bluish clean and elegant Sublime Text theme.
Stars: ✭ 109 (+122.45%)
Mutual labels:  sublime, sublime-text, sublime-text-3
Golite
Add essential language support for the Go language to Sublime Text 3.
Stars: ✭ 14 (-71.43%)
Mutual labels:  sublime, sublime-text, sublime-text-3
Editorconfig Sublime
Sublime Text plugin for EditorConfig - Helps developers maintain consistent coding styles between different editors
Stars: ✭ 1,749 (+3469.39%)
Mutual labels:  sublime-text, sublime-package, sublime-text-plugin
Sublime Jekyll
A Sublime Text package for Jekyll static sites.
Stars: ✭ 160 (+226.53%)
Mutual labels:  sublime-text, sublime-text-3, sublime-package

Launch a Development Server directly from Sublime Text!

πŸ“‹ Introduction

This package integrates the Live Server Node package, giving the ability to launch a local development server to serve content directly from Sublime Text.

πŸ’‘ About Live Server:

Live Server is Node.js tool that spins up a local development server in the given directory.

It features live browser reloading, which simply means that your browser will automatically refresh the page when any change is made to your HTML & CSS files.

Useful for static sites, SPAs, and general HTML/CSS fiddling.

❗Prerequisites

You need the following software installed to use Live Server.

To install Live Server globally using npm, run:

npm install -g live-server

To install Live Server globally using Yarn, run:

yarn global add live-server

πŸŒ€ Installation

Package Control

This package is available in Package Control under the name LiveServer.

As a Repository

❓ Usage

This package exposes 3 commands that can be used directly via the Command Palette, or bound to keys. These are:

Live Server: Start

  • Maps to live_server_start

Live Server: Stop

  • Maps to live_server_stop

Live Server: Open In Browser

  • Maps to live_server_open_in_browser

Status bar messages with indicator emojis are implemented into the package, displaying information in cases such as:

  • πŸŽ‰ Live Server running
  • ❌ Live Server stopped
  • βœ”οΈ Live Server status

When the development server is running, a status message will be shown in the status bar indicating that the server is running. This is shared across all views in the opened instance.

πŸ”¨ Settings

To change your settings, bring up the Command Palette and select: Preferences: Live Server Settings

The default settings are the following:

// Note: These are just mappings to https://github.com/tapio/live-server#usage-from-command-line
{
  "node_executable_path": "/usr/bin/node",
  "global_node_modules_path": "/usr/local/lib/node_modules",
  "port": 8080,
  "address": "localhost",
  "cors": true,
  "browser": "default",
  "nobrowser": false,
  "wait": 100
}

node_executable_path

  • Path to the Node runtime executable. You can run whereis node in your terminal to find this.
  • default: /usr/bin/node

global_node_modules_path

  • Path to the default node_modules directory. You can run npm root -g or yarn global bin in your terminal to find this.
  • default: /usr/local/lib/node_modules

port

  • The default port for the server.
  • default: 8080

address

  • Host address. This should always be either localhost or 127.0.0.1.
  • default: localhost

cors

  • Enables CORS for any origin.
  • default: true

browser

  • Specifies which browser to use.

  • Valid values are:

    • default
    • google-chrome
    • firefox
  • default: default

nobrowser

  • By setting this to true, the browser will not open the server by default
  • default: false

wait

  • Wait this amount of milliseconds before reloading the page after a change
  • default: 100

πŸ”– Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].