lib/js/Template.js
function() {
      var t = this, path = t.get('path');
      t.watcher = FileProbe.watchLoad(path, {persistent: true}, function(error, content) {
        if (!error) {
          t.set('text', content);
        }
      });
    }
function() {
      var t = this, path = t.get('path');
      t.watcher = FileProbe.watchLoad(path, {persistent: true}, function(error, content) {
        if (!error) {
          t.set('text', content);
        }
      });
    }
function ( ) { var t = this , path = t . get ( 'path' ) ; t . watcher = FileProbe . watchLoad ( path , { persistent : true } , function ( error , content ) { if ( ! error ) { t . set ( 'text' , content ) ; } } ) ; }
Watch the file for changes

This sets up a watcher for the file specified in the ```path``` element.
It is called by the constructor if the ```watchFile``` data element is true.

@private
@method _watchFile
Watch the file for changes