You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a project with Laravel & FrankenPHP, it works good but the problem comes when I try to auto-reload the changed files. Since I don't want to use --watch (because it's only available with nodejs and i'm using Bun) I'm trying to set the max-requests to 1 to auto-reload the server on each request only for development, but it does not work.
Steps To Reproduce
I'm starting the server with php artisan octane:frankenphp --max-requests=1
The text was updated successfully, but these errors were encountered:
--max-requests=1 will not work because the number of workers will be bigger than 1
> The number of maximum requests is per worker, and by default, FrankenPHP starts many workers (2 times the number of CPUs).
laravel/octane#816 (comment)
* Update octane.md
--max-requests=1 will not work because the number of workers will be bigger than 1
> The number of maximum requests is per worker, and by default, FrankenPHP starts many workers (2 times the number of CPUs).
laravel/octane#816 (comment)
* Update octane.md
---------
Co-authored-by: Taylor Otwell <taylor@laravel.com>
Octane Version
2.3
Laravel Version
10.10
PHP Version
8.3
What server type are you using?
FrankenPHP
Server Version
latest
Database Driver & Version
No response
Description
I'm trying to create a project with Laravel & FrankenPHP, it works good but the problem comes when I try to auto-reload the changed files. Since I don't want to use --watch (because it's only available with nodejs and i'm using Bun) I'm trying to set the max-requests to 1 to auto-reload the server on each request only for development, but it does not work.
Steps To Reproduce
I'm starting the server with
php artisan octane:frankenphp --max-requests=1
The text was updated successfully, but these errors were encountered: