Skip to content

Error "Unable to set stream resource to non-blocking mode" In ReadableResourceStream.php line 56: #82

Closed
@rogeriopradoj

Description

@rogeriopradoj
  • Error output:
$ vendor/bin/phpunit-watcher watch


In ReadableResourceStream.php line 56:
                                                      
  Unable to set stream resource to non-blocking mode  
                                                      

watch [<phpunit-options>]
  • S.O.: Windows 10
  • How I installed the package: composer require spatie/phpunit-watcher --dev
  • Command (the result error is the same):
    • vendor/bin/phpunit-watcher watch (git-bash)
    • or vendor\bin\phpunit-watcher watch (cmd)
  • Using a configuration file: yes, .phpunit-watcher.yml
  • Content of configuration file:
watch:
  directories:
    - src
    - tests
  fileMask: '*.php'
notifications:
  passingTests: false
  failingTests: true
phpunit:
  binaryPath: vendor/bin/simple-phpunit
  arguments: '--testsuite unit'

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions