lib/watch.js
function Watcher(square, port, silent) {
  var self = this;

  this.square = square;
  this.silent = silent || false;
  this.socket = this.live.call(this, port);
  this.config = path.resolve(process.env.PWD, this.square.package.location);

  // Initialize the live reload, also trigger watching and process the file list.
  this.init = function init() {
    self.watch.apply(self, arguments[1]);
  };

  // Require fs.notify and findit, trigger the watch.
  async.parallel([canihaz['fs.notify'], canihaz.findit], this.init);
}
function Watcher(square, port, silent) {
  var self = this;

  this.square = square;
  this.silent = silent || false;
  this.socket = this.live.call(this, port);
  this.config = path.resolve(process.env.PWD, this.square.package.location);

  // Initialize the live reload, also trigger watching and process the file list.
  this.init = function init() {
    self.watch.apply(self, arguments[1]);
  };

  // Require fs.notify and findit, trigger the watch.
  async.parallel([canihaz['fs.notify'], canihaz.findit], this.init);
}
function Watcher ( square , port , silent ) { var self = this ; this . square = square ; this . silent = silent || false ; this . socket = this . live . call ( this , port ) ; this . config = path . resolve ( process . env . PWD , this . square . package . location ) ; // Initialize the live reload, also trigger watching and process the file list. this . init = function init ( ) { self . watch . apply ( self , arguments [ 1 ] ) ; } ; // Require fs.notify and findit, trigger the watch. async . parallel ( [ canihaz [ 'fs.notify' ] , canihaz . findit ] , this . init ) ; }
Constructor for a watcher.

@constructor
@param {object} square instance
@param {Number} port socket.io reload port
@param {Boolean} silent no logging at all
@api public
Constructor for a watcher .