Timeout - PHP 8.1 and Composer 2.1.9
First of all, nice package and thanks for offering this to the community.
I have tried to use this in one of our projects and I'm getting a timeout. I have tried to include the bits required in composer to avoid this issue but it is still happening.
/var/www/html # composer test:watch
> Composer\Config::disableProcessTimeout
> phpunit-watcher watch < /dev/tty
PHPUnit Watcher
===============
PHPUnit Watcher 1.23.2 by Spatie and contributors.
No config file detected. Using default options.
Tests will be rerun when *.php files are modified in
* /var/www/html/src
* /var/www/html/tests
PHPUnit 9.5.20 #StandWithUkraine
..........................
In Process.php line 1152:
The process "'vendor/bin/phpunit' """ exceeded the timeout of 60 seconds.
watch [<phpunit-options>]
Script phpunit-watcher watch < /dev/tty handling the test:watch event returned with error code 1
I have these bits in my composer.json:
"test:watch": [
"Composer\\Config::disableProcessTimeout",
"phpunit-watcher watch < /dev/tty"
],
and
"config": {
"process-timeout": 0,
By the way the version in the console output does not match.
Any idea or support is more than welcome.
Thanks in advance.
I'm also seeing this with PHP 8.0.22 and Composer 2.3.10, though it doesn't matter if I run it via composer or not.
Dear contributor,
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.