patron-watch

patron watch plugin

Patron-watch

node-patron watch plugin.

Install

npm install patron-watch

Example

var createProxyServer = require('patron')
  , watcher = require('patron-watch');
 
var proxy = createProxyServer(proxyTable);
 
proxy.use(watcher('path/to/dir/or/file'))
proxy.listen(80)