jolicode / docker-starter

🏗️ A skeleton to start a new web project with PHP, Docker and Castor
MIT License
337 stars 34 forks source link

fix: `cache-clear` task #329

Closed JorickPepin closed 1 week ago

JorickPepin commented 1 week ago

The docker_compose_run function builds the following command: ... '/bin/sh' '-c' 'exec rm -rf var/cache/ && bin/console cache:warmup'. The second part is ignored as exec replaces the current shell process, preventing any subsequent commands from being executed in the same context.

This is a quick fix, but maybe a fix at the command building level is preferable?

lyrixx commented 1 week ago

thanks