Skip to content

Keystroke options dont work when watcher executed from composer script #54

Closed
@mfour-merickson

Description

@mfour-merickson

As developer, if I launch the Watcher command from a composer.json script, the keyboard watcher does not work

...
  "scripts": {
    "test": "vendor/bin/phpunit --colors=always",
    "watch-tickets": "vendor/bin/phpunit-watcher watch --testsuite Tickets"
  }
...
Press a to run all tests.
Press t to filter by test name.
Press p to filter by file name.
Press q to quit the watcher.
Press Enter to trigger a test run.

The actual keystroke is sent to the console, but the actions are not triggered

image

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