jog-watcher

Live web feed of your logs from Jog

npm install jog-watcher
3 downloads in the last week
3 downloads in the last month

jog-watcher

Watches Jog stores for changes and presents them in a clean real-time web interface.

Installation

npm install jog-watcher

Usage

Jog Watcher is essentially a preloaded HTTP server, so you can treat it as so.

var jog = require('jog'),
    store = jog(new jog.FileStore(__dirname + '/log')),
    watcher = require('jog-watcher');

watcher(store).listen(80);

You can specify the maximum amount of logs that appear at once using the size option:

watcher(store, {
    size: 100
}).listen(80);

The design of the page is borrowing heavily from orderedlist's Minimal Github Pages theme, and all credit goes to visionmedia for creating the original module.

npm loves you