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();
}