I've been working on package where I have to test queues both using the built-in queue:work and Horizon.
When using queue:work everything to loaded correctly as expected, but with Horizon the config files within workbench/config are not loaded correctly for its supervisors - only the default configs are loaded.
Since testbench.yaml:sync only supports directories, and touching the config folder within laravel-core/laravel blow things up, I've added cp -r workbench/config/* vendor/orchestra/testbench-core/laravel/config/ to the build script in composer.json, which feels really dirty.
Is there another way to do this, or would it be possible to add a copy section similar to sync for files that can't or shouldn't be symlinked?
I've been working on package where I have to test queues both using the built-in
queue:workand Horizon.When using
queue:workeverything to loaded correctly as expected, but with Horizon the config files withinworkbench/configare not loaded correctly for its supervisors - only the default configs are loaded.Since
testbench.yaml:synconly supports directories, and touching the config folder withinlaravel-core/laravelblow things up, I've addedcp -r workbench/config/* vendor/orchestra/testbench-core/laravel/config/to the build script incomposer.json, which feels really dirty.Is there another way to do this, or would it be possible to add a
copysection similar tosyncfor files that can't or shouldn't be symlinked?