src/Jit/ClassLoader.php
public function watch($files)
    {
        $files = (array) $files;

        foreach ($files as $file) {
            $path = realpath($file);
            $this->_watched[$path] = $path;
        }
        $this->refreshWatched();
    }
public function watch($files)
    {
        $files = (array) $files;

        foreach ($files as $file) {
            $path = realpath($file);
            $this->_watched[$path] = $path;
        }
        $this->refreshWatched();
    }
public function watch ( $ files ) { $ files = ( array ) $ files ; foreach ( $ files as $ file ) { $ path = realpath ( $ file ) ; $ this -> _watched [ $ path ] = $ path ; } $ this -> refreshWatched ( ) ; }
Sets some file to watch.

When a watched file is modified, any cached file are invalidated.

@param $files The array of file paths to watch.
Sets some file to watch .