hyperf / hyperf/watcher

How can we contribute to the project?

Open
#32 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
17
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hey guys, I'm having problems running the watcher. Sometimes the `$ret` returns false and it is triggered an undefined index at [that line](https://github.com/hyperf/watcher/blob/master/src/Watcher.php#L80). I created a fork here with the change below and it works.

```php
$command = sprintf('%s %s/vendor/hyperf/watcher/collector-reload.php %s', $this->option->getBin(), BASE_PATH, $file);
$ret = exec($command);
$code = $ret['code'] ?? null;
```
I’d like to know how I can help make this change to this great tool.
Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.