Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Reload Server for SeaJS
branch: master

This branch is 2 commits ahead of edokeh:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
.gitignore
README.md
index.js
package.json

README.md

Reload Server

A server that watches file changes. It is designed for seajs reload plugin.

Install

Install with npm:

$ sudo npm install reload-server -g

Usage

At a glance:

$ reload-server [-p 8000] [path]
  • watch the current directory with the default port:

    $ reload-server
    
  • watch the current directory with specified port:

    $ reload-server -p 8080
    
  • watch the specified directory:

    $ reload-server widget/src
    
  • watch the specified directory with specified port:

    $ reload-server lib -p 8080
    

Working with SeaJS

This server is designed for seajs reload plugin, but you can write your own server.

To active seajs reload plugin:

Something went wrong with that request. Please try again.