Closed abishekrsrikaanth closed 6 months ago
You have to provide --watch
option like below.
php artisan octane:start -port={PORT_NOW} --watch
Before watching files, you have to install npm install --save-dev chokidar
.
https://laravel.com/docs/10.x/octane#watching-for-file-changes
Thanks @amm834
Octane Version
2.3.2
Laravel Version
10.43.0
PHP Version
8.3
What server type are you using?
FrankenPHP
Server Version
1.1.0
Database Driver & Version
MySQL 8
Description
Any code changes I make to the laravel app doesn't reflect unless the octane server is restarted. These aren't code changes on
.env
file orAppServiceProvider
, but the code changes are within theapp
folder. This issue is on the local environment. I run octane with the following command. This issue doesn't occur when using RoadRunner. Haven't used Swoole, so not sure about this.Steps To Reproduce
app
folder