You've probably got php opcode caching or something along those lines enabled on the server. So while you don't need to reboot the server you would probably need to restart the webserver and/or php processes.
Deployed Changes aren't Showing on Site
This is a really weird one and has been working so I'm not sure what's broken it but when I push all my code up to forge then deploy it the changes don't show.
If I ssh in to the server and look at the code there, the new code is showing it's just not showing on the site. The only way I've got it to work is by rebooting the server but that's obviously not a great solution.
I've tried view:clear, php artisan optimize etc but with no luck. I'm not sure what service could be stopping the files updating.
Any ideas would be great. Thanks
To be clear you want opcache enabled.. your performance would very noticeably suffer without it.
But since you are running nginx, restarting that process won't make a difference, you need to restart your php-fpm process. Unlike is often the case with apache, php does not get built as a module for the webserver directly, but runs as it's own separate process.
Please or to participate in this conversation.