Kahlan\Jit\Interceptor::watch PHP Метод

watch() публичный Метод

When a watched file is modified, any cached file are invalidated.
public watch ( $files )
$files The array of file paths to watch.
    public function watch($files)
    {
        $files = (array) $files;
        foreach ($files as $file) {
            $path = realpath($file);
            $this->_watched[$path] = $path;
        }
        $this->refreshWatched();
    }