easyserve
browser-sync in an easy to use TypeScript class
Last updated 3 years ago by lossless .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install easyserve 
SYNC missed versions from official npm registry.

easyserve

browser-sync in an easy to use TypeScript class

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code Known Vulnerabilities TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

import { EasyServe } from 'easyserve'

let myEasyServe = new EasyServe('/some/path/to/webroot', 8080)
myEasyServe.start().then(() => {
    // this is executed when server is running guaranteed
    myEasyServe.stop() // .stop() will work even if not waiting for server to be fully started
})

myEasyServe.reload() // reloads all connected browsers of this instance

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

8 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           5 years ago
  • 0.0.2                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 17
Dependencies (3)
Dev Dependencies (7)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |