eee
This commit is contained in:
@@ -97,6 +97,7 @@ class HotReload extends AbstractProcess
|
||||
*/
|
||||
public function readFile(string $directory): void
|
||||
{
|
||||
var_dump($directory, str_ends_with($directory, '.php'));
|
||||
if (str_ends_with($directory, '.php') === true) {
|
||||
inotify_add_watch($this->pipe, $directory, IN_MODIFY | IN_MOVE | IN_CREATE | IN_DELETE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user