Skip to content
Enhanced version of jas-chen/atom-live-server. Launch a HTTP server with live reload capability.
JavaScript CSS
Branch: master
Clone or download
Pull request Compare This branch is 23 commits ahead of jas-chen:master.
Latest commit a9060ab Mar 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE Feb 13, 2017
doc v1.0.0 Oct 17, 2015
keymaps Complete renaming package and change of command name Feb 21, 2019
lib Add null check for active text editor path. Fixes #9 Mar 20, 2019
menus Rewrite Feb 11, 2017
spec Complete renaming package and change of command name Feb 21, 2019
styles Rewrite Feb 11, 2017
.gitignore fix issue #1 Oct 21, 2015
CHANGELOG.md Rewrite Feb 11, 2017
LICENSE.md Update license Feb 11, 2017
README.md Documentation update Aug 8, 2018
package-lock.json Prepare 3.0.1 release Mar 20, 2019
package.json Prepare 3.0.1 release Mar 20, 2019

README.md

atom-live-server-plus

Forked from jas-chen/atom-live-server.

Launch a simple development http server with live reload capability.

Demo

This package is based on awesome Live Server project.

Usage

Command Keybinding Description
atom-live-server:start-server ctrl-alt-l Launch live server on default port, by default 3000.
atom-live-server:stop-server ctrl-alt-q Stops currently running instance of live server.
atom-live-server:start-3000 ctrl-alt-3 Launch live server on port 3000.
atom-live-server:start-4000 ctrl-alt-4 Launch live server on port 4000.
atom-live-server:start-5000 ctrl-alt-5 Launch live server on port 5000.
atom-live-server:start-8000 ctrl-alt-8 Launch live server on port 8000.
atom-live-server:start-9000 ctrl-alt-9 Launch live server on port 9000.

Options

If a file .atom-live-server.json exists in project root it will be loaded and used as options.

The keys of .atom-live-server.json should match Command line parameters in live-server.

Example: Launch specific browser

{
  "browser": "safari"
}

Example: Start server without browser opened

{
  "no-browser": true
}

Example: Serve this file for every 404 (useful for single-page applications)

{
  "entry-file": "index.html"
}

Example: Serve this directory as root path

{
  "root": "public"
}
You can’t perform that action at this time.