Build is not finished by custom BUILD command

I have configured the following command: NIXPACKS_BUILD_CMD=npm run build && php artisan queue:work I did this so that I could listen to jobs in a Laravel application. The problem is that when this command is executed, it is blocking app build, so it is not finished. What should I do? Project ID: 38a04f85-8470-4aa5-8606-ed84d6c96949
7 Replies
Percy
Percy2y ago
Project ID: 38a04f85-8470-4aa5-8606-ed84d6c96949
Percy
Percy2y ago
renatoalvarez
renatoalvarezOP2y ago
Build log:
angelo
angelo2y ago
@renatoalvarez - Your start command should be: php artisan queue:work Rather than both at once.
renatoalvarez
renatoalvarezOP2y ago
it didnt work too 😦
njoguamos
njoguamos2y ago
Queue work should be a start command, not a build command. NIXPACKS_BUILD_CMD=npm run build NIXPACKS_START_CMD=php artisan queue:work
alex
alex2y ago
624 builders minutes sadCat
Want results from more Discord servers?
Add your server