1.0.3 • Published 10 years ago

tail-watcher v1.0.3

Weekly downloads
18
License
-
Repository
github
Last release
10 years ago

This is Tail Watcher for Node.js

author: Rudolph-Miller

How to Use

	TailWatcher = require('tail-watcher').TailWatcher('*watching-file*')
	TailWatcher.push, (data) -> *action-for-data* data

	FolderWatcher = require('node-tail-watcher').FolderWatcher('*watching-folder*')
	FolderWatcher.push, (data) -> *action-for-data* data
  1. TailWatcher extends EventEmitter

    • watcher file and emit events if it has changed
    • emit 'push', (data) -> console.log data
    • emit 'error', (err) -> console.log err
  2. FolderWatcher

    • watcher folder and emit events if files in it have changed
    • emit 'push', (data) -> console.log data
    • emit 'error', (err) -> console.log err
1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago