The Pest Watch Plugin removes colorful output from Pest.
✅ Expected behavior
❌ Actual behavior
1. Install Pest and Pest Plugin Watch
1. Install Pest and Pest Plugin Watch
2. Run vendor/bin/pest --watch
2. Run vendor/bin/pest --watch
3. See test output with colors
3. See test output with no colors
Screenshots
vendor/bin/pest does have colorful output
vendor/bin/pest --watch does not have colorful output
Steps to recreate
# Create a project
$ mkdir -p my-app
$ cd my-app
# Initialize Composer
$ composer init
# Install and initialize Pest 2.x
$ composer require --dev pestphp/pest:2.x -W
$ vendor/bin/pest --init
# Install Pest Plugin Watch 2.x
$ composer require --dev pestphp/pest-plugin-watch:2.x -W
# Check PHP version
$ php --version
PHP 8.2.12 (cli) (built: Nov 5 2023 21:48:15) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.12, Copyright (c) Zend Technologies
with Zend OPcache v8.2.12, Copyright (c), by Zend Technologies
# Check Pest and plugin versions
$ composer show | grep pest
pestphp/pest v2.24.3 The elegant PHP Testing Framework.
pestphp/pest-plugin v2.1.1 The Pest plugin manager
pestphp/pest-plugin-arch v2.4.1 The Arch plugin for Pest PHP.
pestphp/pest-plugin-watch v2.0.1 The Pest Watch Plugin
# Add a simple test, run it and do see colorful output (see screenshot above)
$ vendor/bin/pest
# Run test with Watch Plugin and do not see colorful output (see screenshot above)
$ vendor/bin/pest --watch
Summary
The Pest Watch Plugin removes colorful output from Pest.
vendor/bin/pest --watch
vendor/bin/pest --watch
Screenshots
vendor/bin/pest
does have colorful outputvendor/bin/pest --watch
does not have colorful outputSteps to recreate
Example files
composer.json
:src/MyClass.php
:tests/Unit/MyClassTest.php
: