Code changes after deploy not picked up when using Laravel Octane with FrankenPHP and Supervisor #4005
Unanswered
rico
asked this question in
Help needed
Replies: 1 comment 4 replies
-
What about writing a custom task and running your command from it? task('reload', function () {
run('/usr/bin/php -d variables_order=EGPCS /home/user/app/current/artisan octane:start --server=frankenphp');
}); |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like a setup where my Laravel app is running using Octane (with FrankenPHP). To keep Octane alive I use supervisor. But I cannot find a way for Octane to pick up code changes.
artisan:octane:reload
does not work in such a setup. I guess because Supervisor is not resolving thecurrent
symlink properly, or maybe something totally different which I am missing :-)My command in the Supervisor config looks as follows:
/usr/bin/php -d variables_order=EGPCS /home/user/app/current/artisan octane:start --server=frankenphp
Does anybody have an idea on how to reload the FrankenPHP workers after deploy? I also tried the approach of using the admin API of FrankenPHP directly.
Beta Was this translation helpful? Give feedback.
All reactions