livereload-static-server

0.1.2 • Public • Published

livereload-static-server

Static server with livereload powered by connect

Usage

npm install livereload-static-server

server(basePath = ".", port = 8080, liveReloadPort = 35729)

var server = require('livereload-static-server');
var livereload = server()

// Whenever a file changes
reloadedClients = livereload(filename)

/livereload-static-server/

    Package Sidebar

    Install

    npm i livereload-static-server

    Weekly Downloads

    4

    Version

    0.1.2

    License

    ISC

    Last publish

    Collaborators

    • manuelcabral